How to make a private property?
Posted
by mystify
on Stack Overflow
See other posts from Stack Overflow
or by mystify
Published on 2010-05-04T20:30:23Z
Indexed on
2010/05/11
21:14 UTC
Read the original article
Hit count: 227
objective-c
|properties
I tried to make a private property in my *.m
file:
@interface MyClass (Private)
@property (nonatomic, retain) NSMutableArray *stuff;
@end
@implementation MyClass
@synthesize stuff; // not ok
Compiler claims that there's no stuff property declared. But there's a stuff. Just in an anonymous category. Let me guess: Impossible. Other solutions?
© Stack Overflow or respective owner