FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSAClass Class Reference

Object wrapper for runtime Class. More...

#import <NSAClassDeprecated.h>

Inheritance diagram for NSAClass:

Instance Methods

(id) - initWithClass:
 Initialize class object with class. More...
 
(id) - __deprecated
 Allocator. More...
 
(IMP) - methodImplementationForSelector:
 Returns IMP from given method. More...
 
(void) - addMethodForSelector:implementation:types:
 Adds a new method to a class with a given name and implementation. More...
 
(id) - allocWithZone:
 Allocator. More...
 

Class Methods

(id) + classWithUTF8Name:
 Returns a class object for a given name. More...
 
(id) + classWithName:
 Returns a class object for a given name. More...
 
(id) + classWithClass:
 Creates and returns class object with class. More...
 

Protected Attributes

Class _class
 

Properties

const char *UTF8Name __deprecated
 Returns class name in c format. More...
 
NSString *name __deprecated
 Returns class name. More...
 
Class superclass __deprecated
 Superclass. More...
 
NSAClass *superclassObject __deprecated
 Superclass object. More...
 

Detailed Description

Object wrapper for runtime Class.

This class supports accessing Objective-C runtime with Objective-C object model. This reduces usage of verbose C functions.

Deprecated:
NSAClass is deprecated and merged to premitive Class. See NSObject(ObjCRuntimeClass)

Method Documentation

- (id) __deprecated

Allocator.

See also
NSObject +alloc
Deprecated:
This is included in built-in class.

Provided by category NSAClass(Deprecated).

- (void) addMethodForSelector: (SEL)  selector
implementation: (IMP)  implementation
types: (NSString *)  __deprecated 

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

See also
class_addMethod
Deprecated:
See NSObject(ObjCRuntimeClass)

Provided by category NSAClass(Deprecated).

- (id) allocWithZone: (NSZone *)  __deprecated

Allocator.

See also
NSObject +allocWithZone:
Deprecated:
This is included in built-in class.

Provided by category NSAClass(Deprecated).

+ (id) classWithClass: (Class)  __deprecated

Creates and returns class object with class.

Deprecated:
Use plain Class
+ (id) classWithName: (NSString *)  __deprecated

Returns a class object for a given name.

Deprecated:
Use NSClassFromString
+ (id) classWithUTF8Name: (const char *)  __deprecated

Returns a class object for a given name.

Deprecated:
Use NSClassFromString
- (id) initWithClass: (Class)  __deprecated

Initialize class object with class.

Deprecated:
Use plain Class
- (IMP) methodImplementationForSelector: (SEL)  __deprecated

Returns IMP from given method.

See also
class_getMethodImplementation
Deprecated:
See NSObject(ObjCRuntimeClass)

Provided by category NSAClass(Deprecated).

Member Data Documentation

- (Class) _class
protected

Property Documentation

- (const char* UTF8Name) __deprecated
readnonatomicassign

Returns class name in c format.

See also
class_getName
+ name (NSObject(ObjCRuntimeClass))
Deprecated:
Use class.name.UTF8String

Provided by category NSAClass(Deprecated).

- (NSString* name) __deprecated
readnonatomicassign

Returns class name.

See also
class_getName
UTF8Name
Deprecated:
Use class.name

Provided by category NSAClass(Deprecated).

- (Class superclass) __deprecated
readnonatomicassign

Superclass.

Deprecated:
Built-in.

Provided by category NSAClass(Deprecated).

- (NSAClass* superclassObject) __deprecated
readnonatomicassign

Superclass object.

Deprecated:
Built-in.

Provided by category NSAClass(Deprecated).


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