FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSObject(ObjCRuntimeClass) Category Reference

Class extensions. More...

#import <NSObject.h>

Class Methods

(NSString *) + name
 Returns name of class. More...
 
(Method) + methodValueForSelector:
 Returns Method from given selector;. More...
 
(NSAMethod *) + methodObjectForSelector:
 Returns Method from given selector;. More...
 
(Method) + classMethodValueForSelector:
 Returns class Method from given selector;. More...
 
(NSAMethod *) + classMethodObjectForSelector:
 Returns class Method from given selector;. More...
 
(IMP) + methodImplementationForSelector:
 Returns IMP from given method. More...
 
(void) + addMethodForSelector:fromMethod:
 Adds a new method to a class with a given name and template method. More...
 
(void) + addMethodForSelector:implementation:types:
 Adds a new method to a class with a given name and implementation. More...
 
(void) + addClassMethodForSelector:fromMethod:
 Adds a new class method to a class with a given name and template method. More...
 
(void) + addClassMethodForSelector:implementation:types:
 Adds a new class method to a class with a given name and implementation. More...
 
(NSString *) + __deprecated
 Returns name of class. More...
 

Detailed Description

Class extensions.

Method Documentation

+ (NSString *) __deprecated

Returns name of class.

Deprecated:
Renamed to name
+ (void) addClassMethodForSelector: (SEL)  selector
fromMethod: (NSAMethod *)  method 

Adds a new class method to a class with a given name and template method.

See also
class_addMethod
+ (void) addClassMethodForSelector: (SEL)  selector
implementation: (IMP)  implementation
types: (NSString *)  implementationTypes 

Adds a new class method to a class with a given name and implementation.

See also
class_addMethod
+ (void) addMethodForSelector: (SEL)  selector
fromMethod: (NSAMethod *)  method 

Adds a new method to a class with a given name and template method.

See also
class_addMethod
+ (void) addMethodForSelector: (SEL)  selector
implementation: (IMP)  implementation
types: (NSString *)  implementationTypes 

Adds a new method to a class with a given name and implementation.

See also
class_addMethod
+ (NSAMethod *) classMethodObjectForSelector: (SEL)  selector

Returns class Method from given selector;.

See also
class_getClassMethod
+ (Method) classMethodValueForSelector: (SEL)  selector

Returns class Method from given selector;.

See also
class_getClassMethod
+ (IMP) methodImplementationForSelector: (SEL)  selector

Returns IMP from given method.

See also
class_getMethodImplementation
+ (NSAMethod *) methodObjectForSelector: (SEL)  selector

Returns Method from given selector;.

See also
class_getInstanceMethod
+ (Method) methodValueForSelector: (SEL)  selector

Returns Method from given selector;.

See also
class_getInstanceMethod
+ (NSString *) name

Returns name of class.

See also
class_getName

The documentation for this category was generated from the following file: