SourceKitten icon indicating copy to clipboard operation
SourceKitten copied to clipboard

Merging Obj-C property and custom setter docs

Open dashchak opened this issue 5 years ago • 0 comments

In our SDK we have readonly property: @property (nonatomic, readonly) NSUInteger routeRequestInterval;

and custom non-void setter in order to return some error: -(NMANavigationError)setRouteRequestInterval:(NSUInteger)interval;

Doc is generated only for property. Setter is not shown at all.

Looks like a SourceKitten filtering issue as docs are generated by Xcode when I Opt+click the property or setter. We can not modify property or setter as they are in public header of SDK and will affect users.

Is there any workaround?

dashchak avatar Jun 12 '20 10:06 dashchak