Comment on First Glance at Objective-C and the iPhone SDK (by a Java and C Developer)parentComments−betamike15yYou can define a category within your implementation file (.m) and redeclare the property like this:@interface MyClass (PrivateMethods)@property(readwrite, retain) NSObject *myProperty;@end@implementation MyClass ...Now only your implementation knows about the generated setter methods, and you don't have to implement them yourself.
Comments
You can define a category within your implementation file (.m) and redeclare the property like this:
@interface MyClass (PrivateMethods)
@property(readwrite, retain) NSObject *myProperty;
@end
@implementation MyClass ...
Now only your implementation knows about the generated setter methods, and you don't have to implement them yourself.