Guest User

Untitled

a guest
Jul 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. //
  2. // PropertyDescription.h
  3. // DynamicPropertyGenerator
  4. //
  5. // Created by Hori,Masaki on 11/02/10.
  6. // Copyright 2011 masakih. All rights reserved.
  7. //
  8.  
  9. #import <Foundation/Foundation.h>
  10. #import <objc/runtime.h>
  11.  
  12. @interface PropertyDescription : NSObject
  13. {
  14. char *name;
  15. char *getter;
  16. char *setter;
  17. char *type;
  18. struct {
  19. char isReadOnly : 1;
  20. char dynamic : 1;
  21. } _attr;
  22. objc_AssociationPolicy policy;
  23.  
  24. IMP setterImp;
  25. IMP getterImp;
  26. }
  27.  
  28. + (id)propertyDescriptionWithClass:(Class)class getter:(SEL)getterSelector;
  29. + (id)propertyDescriptionWithClass:(Class)class setter:(SEL)setterSelector;
  30.  
  31. @end
Add Comment
Please, Sign In to add comment