jazzy
jazzy copied to clipboard
NS_OPTIONS are treated as enums
Jazzy seems to be documenting my NS_ENUMs, but it's not documenting my NS_OPTIONS. Is this a known issue or am I missing something? I'm using Jazzy with an Obj-C project.
Seems to work fine for me, although jazzy treats it as an enum:
/// Some options.
typedef NS_OPTIONS(NSUInteger, SomeOptions) {
/// Foo.
SomeOptionsFoo = 0,
/// Bar.
SomeOptionsBar = 1 << 0,
};
Is this what you're seeing?
No, it seems to get ignored. Let me take a look at the commentary around it and see if something is funny.
I was missing the space in front of the /// which I didn't realize was required. Thanks! Not a bug.
well, the fact that NS_OPTIONS
are treated as enums I'd consider a bug, so let's keep this open.
Any updates on this?
wanna get chummy with libclang?