FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSAClassDeprecated.h
Go to the documentation of this file.
1 //
2 // NSAClass.h
3 // FoundationExtension
4 //
5 // Created by Jeong YunWon on 12. 10. 16..
6 // Copyright (c) 2012 youknowone.org. All rights reserved.
7 //
8 
16 #import <objc/runtime.h>
17 
18 @class NSAMethod;
19 
26 __deprecated @interface NSAClass: NSObject {
27  Class _class;
28 }
29 
30 // avoid 'class' keyword in C++. there must be good way, NSObject.h is using.
31 
36 #ifndef __cplusplus
37 @property(nonatomic, readonly) Class class __deprecated;
38 #else
39 - (Class)class __deprecated;
40 #endif
41 
46 + (id)classWithUTF8Name:(const char *)name __deprecated;
47 
52 + (id)classWithName:(NSString *)name __deprecated;
53 
58 - (id)initWithClass:(Class)aClass __deprecated;
59 
64 + (id)classWithClass:(Class)aClass __deprecated;
65 
66 @end
67 
69 
77 @property(nonatomic, readonly) const char *UTF8Name __deprecated;
78 
86 @property(nonatomic, readonly) NSString *name __deprecated;
87 
92 @property(nonatomic, readonly) Class superclass __deprecated;
93 
98 @property(nonatomic, readonly) NSAClass *superclassObject __deprecated;
99 
106 - (IMP)methodImplementationForSelector:(SEL)selector __deprecated;
107 
114 - (void)addMethodForSelector:(SEL)selector implementation:(IMP)implementation types:(NSString *)implementationTypes __deprecated;
115 
122 - (id)alloc __deprecated;
129 - (id)allocWithZone:(NSZone *)zone __deprecated;
130 
131 @end
132 
133 
139 
144 @property(nonatomic, readonly) NSAClass *classObject __deprecated;
145 
150 + (NSAClass *)classObject __deprecated;
151 
152 @end
NSObject extension for NSAClass shortcut.
Definition: NSAClassDeprecated.h:138
Object wrapper for runtime Class.
Definition: NSAClassDeprecated.h:26
Class _class
Definition: NSAClassDeprecated.h:27
Definition: NSAClassDeprecated.h:68
Object wrapper for Method.
Definition: NSObject.h:213