I'm not currently pulling in documentation for ObjC-based frameworks (including, e.g. DarwinFoundation).
I studied this briefly, it doesn't seem like SK is equipped to pull them in at present.
The most probable path forward here is to root around in ~/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.OSX.docset/Contents/Resources/Tokens/Swift Inside there, the XML files look like:
<?xml version="1.0" encoding="utf-8"?><Enumeration AppleRefID="//apple_ref/swift/enum/s:OSs19PlaygroundQuickLook">
That s:OSs19PlaygroundQuickLook is a key.usr. So it becomes a problem of figuring out (or indexing) what file contains that string and then piping in the XML documentation.
I don't actually plan to implement this, since I don't need ObjC support that badly, but I'm writing this down in case somebody does.
I'm not currently pulling in documentation for ObjC-based frameworks (including, e.g. DarwinFoundation).
I studied this briefly, it doesn't seem like SK is equipped to pull them in at present.
The most probable path forward here is to root around in
~/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.OSX.docset/Contents/Resources/Tokens/SwiftInside there, the XML files look like:That
s:OSs19PlaygroundQuickLookis akey.usr. So it becomes a problem of figuring out (or indexing) what file contains that string and then piping in the XML documentation.I don't actually plan to implement this, since I don't need ObjC support that badly, but I'm writing this down in case somebody does.