NSTextContainer.exclusionPaths should be nullable

Originator:futuretap
Number:rdar://21949026 Date Originated:22-Jul-2015 11:31 PM
Status:Resolved Resolved:2016-01-27
Product:iOS SDK Product Version:9.0b4
Classification:Other Bug Reproducible:Always
 
NSTextContainer.exclusionPaths is documented to have a default value of nil.
However the property is declared as not nullable:

@property(copy, nonatomic) NSArray <UIBezierPath *> * _Nonnull exclusionPaths

Either the declaration is wrong (my assumption) or the documentation. If the declaration is indeed not nullable, then I'd like to know how to reset exclusionPaths to the default value.


Regression
9.0b4

Comments

Apple Response

The documentation has been updated, please verify here:

https://developer.apple.com/library/prerelease/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTextContainer_Class/index.html#//apple_ref/occ/instp/NSTextContainer/exclusionPaths and https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/NSTextContainer_Class_TextKit/index.html#//apple_ref/occ/instp/NSTextContainer/exclusionPaths

We consider this issue closed.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!