Frameworks missing NS_DESIGNATED_INITIALIZER attribute definition
| Originator: | lithium3141 | ||
| Number: | rdar://16561660 | Date Originated: | 08-Apr-2014 08:12 PM |
| Status: | Open | Resolved: | |
| Product: | OS X SDK | Product Version: | OS X 10.9.2 (13C64) |
| Classification: | Enhancement | Reproducible: | Always |
Summary: The compiler shipped with Xcode 5.1 includes support for the objc_designated_initializer attribute. However, no Foundation #define exists for this attribute, limiting developers' ability to adopt it. Please provide NS_DESIGNATED_INITIALIZER or similar in a future release. Steps to Reproduce: 1. Create a new app 2. Add a new class 3. Attempt to mark an initializer as designated with NS_DESIGNATED_INITIALIZER Expected Results: NS_DESIGNATED_INITIALIZER is interpreted as __attribute__((objc_designated_initializer)) and the compiler begins warning appropriately. Actual Results: NS_DESIGNATED_INITIALIZER is unrecognized.
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!