Skip to content

ObjC documentation #11

Description

@drewcrawford

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions