Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // JSSettingsControllerPrivate.h
- //
- // Created by Jon on 10/16/10.
- // Copyright (c) 2010 Jonathan Sterling. All rights reserved.
- //
- #import <objc/runtime.h>
- namespace jssc
- {
- struct accessor_info_t
- {
- void *setter_ptr;
- void *getter_ptr;
- const char *setter_enc;
- const char *getter_enc;
- };
- template <typename T>
- struct defaults_implementation;
- template <typename T>
- accessor_info_t accessor_info();
- }
- @interface JSSettingsController ()
- + (BOOL)selectorIsSetter:(SEL)aSelector;
- + (BOOL)selector:(SEL)aSelector isSetterForProperty:(NSString *)aProperty;
- + (BOOL)selector:(SEL)aSelector isGetterForProperty:(NSString *)aProperty;
- + (objc_property_t)propertyForSelector:(SEL)aSelector;
- + (NSString *)keyFromSetter:(SEL)aSetter;
- @end
Add Comment
Please, Sign In to add comment