Mac OS X 10.10: Mark class of NSObject as readonly property

Originator:stephan.michels
Number:rdar://17222031 Date Originated:08-Jun-2014 03:02 PM
Status:Open Resolved:
Product:OS X SDK Product Version:Mac OS X 10.10
Classification:Other Bug Reproducible:Always
 
superclass is modeled as readonly property, but not the class itself. I don’t see a reason why don’t do it as well.

NSObject.h:
@property (readonly) Class superclass;
- (Class)class;

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!