Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // PropertyDescription.h
- // DynamicPropertyGenerator
- //
- // Created by Hori,Masaki on 11/02/10.
- // Copyright 2011 masakih. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import <objc/runtime.h>
- @interface PropertyDescription : NSObject
- {
- char *name;
- char *getter;
- char *setter;
- char *type;
- struct {
- char isReadOnly : 1;
- char dynamic : 1;
- } _attr;
- objc_AssociationPolicy policy;
- IMP setterImp;
- IMP getterImp;
- }
- + (id)propertyDescriptionWithClass:(Class)class getter:(SEL)getterSelector;
- + (id)propertyDescriptionWithClass:(Class)class setter:(SEL)setterSelector;
- @end
Add Comment
Please, Sign In to add comment