Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // in the .h
- @interface Foo : NSObject
- @property (nonatomic, readonly) id bar;
- @end
- // in the .m
- @interface Foo (private)
- @property (nonatomic, readwrite) id bar;
- @end
- @implementation Foo
- @synthesize bar;
- @end
Add Comment
Please, Sign In to add comment