16 #import <Foundation/Foundation.h>
17 #import <objc/runtime.h>
32 @property(nonatomic, readonly) NSString *className;
48 - (id)performSelector:(
SEL)sel withObject:(
id)obj1 withObject:(
id)obj2 withObject:(
id)obj3;
63 - (id)performSelector:(
SEL)sel withObject:(
id)obj1 withObject:(
id)obj2 withObject:(
id)obj3 withObject:(
id)obj4;
77 - (id)associatedObjectForKey:(
void *)key;
87 - (void)setAssociatedObject:(
id)object forKey:(
void *)key;
99 - (void)setAssociatedObject:(
id)object forKey:(
void *)key policy:(objc_AssociationPolicy)policy;
108 - (void)removeAssociatedObjectForKey:(
void *)key;
119 - (void)removeAssociatedObjectForKey:(
void *)key policy:(objc_AssociationPolicy)policy;
141 + (Method)methodValueForSelector:(
SEL)selector;
148 + (
NSAMethod *)methodObjectForSelector:(
SEL)selector;
155 + (Method)classMethodValueForSelector:(
SEL)selector;
162 + (
NSAMethod *)classMethodObjectForSelector:(
SEL)selector;
169 + (IMP)methodImplementationForSelector:(
SEL)selector;
176 + (void)addMethodForSelector:(
SEL)selector fromMethod:(
NSAMethod *)method;
183 + (void)addMethodForSelector:(
SEL)selector implementation:(IMP)implementation types:(NSString *)implementationTypes;
190 + (void)addClassMethodForSelector:(
SEL)selector fromMethod:(
NSAMethod *)method;
197 + (void)addClassMethodForSelector:(
SEL)selector implementation:(IMP)implementation types:(NSString *)implementationTypes;
203 + (NSString *)className __deprecated;
221 @property(nonatomic, readonly) Method method;
229 @property(nonatomic, assign) IMP implementation;
237 @property(weak, nonatomic, readonly) NSString *typeEncoding;
245 - (void)exchangeImplementationWith:(
NSAMethod *)method;
Method _method
Definition: NSObject.h:214
NSObject extensions.
Definition: NSObject.h:25
Class extensions.
Definition: NSObject.h:127
Object wrapper for Method.
Definition: NSObject.h:213