Inconsistent naming of Class Extension (Objective-C language feature)
| Originator: | nikolai.ruhe | ||
| Number: | rdar://11309706 | Date Originated: | 24-Apr-2012 07:40 PM |
| Status: | Closed | Resolved: | 14-Nov-2012 |
| Product: | Developer Tools | Product Version: | clang-318.0.45 |
| Classification: | Other Bug | Reproducible: | N/A |
Summary:
Class Extension[1] are sometimes referred to as "continuation class" by clang or "class continuation" by gcc. This is confusing and not consistent with "The Objective-C Programming Language".
Steps to Reproduce:
Compile this code snippet in clang or gcc:
@interface Foo : NSObject
@property int a;
@end
@interface Foo()
@property float a;
@end
Expected Results:
warning/error message referring to a "class extension"
Actual Results:
warning/error message referring to a "continuation class" or a "class continuation"
Notes:
See http://stackoverflow.com/questions/10301661/what-is-an-objective-c-class-continuation/10301806#comment13258585_10301806
References:
[1] http://developer.apple.com/library/ios/documentation/cocoa/conceptual/objectivec/Chapters/ocCategories.html#//apple_ref/doc/uid/TP30001163-CH20-SW2
02-Nov-2012 06:48 PM Apple Developer Bug Reporting Team :
We believe this issue has been addressed in Xcode 4.6 Developer Preview. This is a pre-release version of the Xcode developer toolset for Mac, iPhone, and iPad. It includes the Xcode IDE, iOS Simulator, and all required tools and frameworks for building OS X and iOS apps. Please verify with this release, and update your bug report with the results.
Xcode 4.6 Build 4H90b
Posted Date: November 1, 2012
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!