Name
NSObject — Mac OS X 10.0
Synopsis
NSObject
is the root class of the Cocoa frameworks. This
class defines the base functionality that enables objects to work
with the Objective-C runtime.
|
@interface NSObject <NSObject>
|
// Initializers
|
- (id)init;
|
// Class Methods
|
+ (id)alloc;
|
+ (id)allocWithZone:(NSZone *)zone; |
+ (Class)class;
|
+ (BOOL)conformsToProtocol:(Protocol *)protocol; |
+ (id)copyWithZone:(NSZone *)zone; |
+ (NSString *)description;
|
+ (void)initialize;
|
+ (IMP)instanceMethodForSelector:(SEL)aSelector; |
+ (NSMethodSignature *)instanceMethodSignatureForSelector:(SEL)aSelector; |
+ (BOOL)instancesRespondToSelector:(SEL)aSelector; |
+ (BOOL)isSubclassOfClass:(Class)aClass; |
+ (void)load;
|
+ (id)mutableCopyWithZone:(NSZone *)zone; |
+ (id)new;
|
+ (void)poseAsClass:(Class)aClass; |
+ (void)setVersion:(int)aVersion; |
+ (Class)superclass;
|
+ (int)version;
|
// Instance Methods
|
- (void)URL:(NSURL *)sender resourceDataDidBecomeAvailable:(NSData *)newBytes; |
- (void)URL:(NSURL *)sender resourceDidFailLoadingWithReason:(NSString *)reason; |
- (void)URLResourceDidCancelLoading:(NSURL *)sender; |
- (void)URLResourceDidFinishLoading:(NSURL *)sender; |
- (id)awakeAfterUsingCoder:(NSCoder *)aDecoder; |
- (unsigned long)classCode;
|
- (Class)classForArchiver;
|
- (Class)classForCoder;
|
- (Class)classForKeyedArchiver;
|
- (Class)classForPortCoder;
|
- (NSString ... |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.