JP Simard
JP Simard
There's a proof of concept PR towards SourceKitten that builds towards this: https://github.com/jpsim/SourceKitten/pull/95
As of #530, Objective-C declarations also include their Swift equivalent when appropriate. I haven't found a good way to do it the other way around though, so I'd appreciate any...
I still haven't figured out how to perform the swift->objc translation.
None whatsoever.
Seems to work fine for me, although jazzy treats it as an enum: ``` objc /// Some options. typedef NS_OPTIONS(NSUInteger, SomeOptions) { /// Foo. SomeOptionsFoo = 0, /// Bar. SomeOptionsBar...
well, the fact that `NS_OPTIONS` are treated as enums I'd consider a bug, so let's keep this open.
wanna get chummy with libclang?
How would you expect `@discussion` to work? Same as `@note`? e.g. sidebar with `DISCUSSION` as mini-title? Do you know if there's an exhaustive resource listing all the ObjC doc commands...
This is the best reference I could find: http://stackoverflow.com/a/19169271/373262 I've updated this issue title to reflect adding support for all these commands.
I think we should just support them all, unless you can think of valid reasons not to. It's pretty straightforward to do.