NSBrowser missing nullability annotations
| Originator: | macmade | ||
| Number: | rdar://22610495 | Date Originated: | 08-Sep-2015 05:25 PM |
| Status: | Open | Resolved: | |
| Product: | OS X SDK | Product Version: | Xcode version 7.0 beta 6 7A192o |
| Classification: | Enhancement | Reproducible: | Always |
NSBrowser's method `-editItemAtIndexPath:withEvent:select:` is missing a `nullable` annotation for argument `theEvent`. Actual definition is: - (void)editItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)theEvent select:(BOOL)select NS_AVAILABLE_MAC(10_6); Should be: - (void)editItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(nullable NSEvent *)theEvent select:(BOOL)select NS_AVAILABLE_MAC(10_6); The inline documentation states that the event parameter may be nil if programatically editing.
Comments
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!