Comment on First Glance at Objective-C and the iPhone SDK (by a Java and C Developer)parentComments−rbritton15yYou can use @public, @private, or @protected on the instance variables. Unfortunately these do not extend to the properties themselves and you have to use a different approach as in the sibling comment: @interface SomeClass (SomePrivateCategory) @property (nonatomic, assign) NSUInteger count; ... @end−chc15yActually, Objective-C has class extensions for just this purpose. No need for a private category.
Comments
You can use @public, @private, or @protected on the instance variables. Unfortunately these do not extend to the properties themselves and you have to use a different approach as in the sibling comment:
Actually, Objective-C has class extensions for just this purpose. No need for a private category.