daily pastebin goal
79%
SHARE
TWEET

Untitled

a guest Nov 18th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @implementation MyClass
  2.  
  3. static NSString *_someString;
  4.  
  5. ///定義Setter方法
  6. + (void)setSomeString:(NSString *)someString{
  7.     _someString = someString;
  8. }
  9.  
  10. ///定義Getter方法
  11. + (NSString *)someString{
  12.     return _someString;
  13. }
  14.  
  15. @end
RAW Paste Data
Top