All classes should get a private class extension defined on creation

Originator:pburleson
Number:rdar://11489503 Date Originated:19-May-2012 01:12 AM
Status:Open Resolved:
Product:Developer Tools Product Version:4.3.2 (4E2002)
Classification:Enhancement Reproducible:Always
 
Summary:

In addition to UIViewController, all new classes should get created with the private class extension defined. 

Steps to Reproduce:

1. Create a new class that isn't a UIViewController

Expected Results:

The .m file would already have @interface <class>() @end defined at the top of the file much like UIViewController gets now

Actual Results:

Only UIViewController gets this behavior.

Notes: 

To make it flexible, adding this as a checkbox on the new file dialog for a Objective-C class. Having this extension defined speeds up adding private properties defined in the class extension in the .m file.

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!