Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. NSString * my_string; (in interface of my .h)
  2.  
  3. property (nonatomic, strong) NSString *my_string;
  4.  
  5. synthesize my_string; (in .m)
  6.  
  7. @synthesize propertyName = _propertyName;
  8.  
  9. @property (nonatomic, strong) NSString *name;
  10.  
  11. _name = @"John Smith"
  12.  
  13. @synthesize name = _name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement