http://cache.baiducontent.com/c?m=9f65cb4a8c8507ed4fece763
1045d0621f5f86603ad3d602
7fa3c80ec42f0c564711b2e6
783f405a8e90616401a84b5b
eff222376a4376b8c7899f4b
ade6c27078d96123716c9141
65c418df91&p=80769a479f9916f90fbd9b7d
0c1594&newp=9339d2119e934eac59ee872d
02149f231610db2151d2d612
6c&user=baidu&fm=sc&query=NSObject.h&qid=ef1934c200009e34&p1=1
#import .h> #import .h> @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator; @class Protocol; @protocol NSObject - (BOOL)isEqual:(id)object; - (NSUInteger)hash; - (Class)superclass; - (Class)class; - (id)self; - (NSZone *)zone; - (id)performSelector:(SEL)aSelector; - (id)performSelector:(SEL)aSelector withObject:(id)object; - (id)performSelector:(SEL)aSelector withObject:(id)object1 withObject:(id)object2; - (BOOL)isProxy; - (BOOL)isKindOfClass:(Class)aClass; - (BOOL)isMemberOfClass:(Class)aClass; - (BOOL)conformsToProtocol:(Protocol *)aProtocol; - (BOOL)respondsToSelector:(SEL)aSelector; - (id)retain; - (oneway void)release; - (id)autorelease; - (NSUInteger)retainCount; - (NSString *)description; @end @protocol NSCopying - (id)copyWithZone:(NSZone *)zone; @end @protocol NSMutableCopying - (id)mutableCopyWithZone:(NSZone *)zone; @end @protocol NSCoding - (void)encodeWithCoder:(NSCoder *)aCoder; - (id)initWithCoder:(NSCoder *)aDecoder; @end @interface NSObject { Class isa; } + (void)load; + (void)initialize; - (id)init; + (id)new; + (id)allocWithZone:(NSZone *)zone; + (id)alloc; - (void)dealloc; - (void)finalize AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER; - (id)copy; - (id)mutableCopy; + (id)copyWithZone:(NSZone *)zone; + (id)mutableCopyWithZone:(NSZone *)zone; + (Class)superclass; + (Class)class; + (BOOL)instancesRespondToSelector:(SEL)aSelector; + (BOOL)conformsToProtocol:(Protocol *)protocol; - (IMP)methodForSelector:(SEL)aSelector; + (IMP)instanceMethodForSelecto r:(SEL)aSelector; - (void)doesNotRecognizeSelector :(SEL)aSelector; - (id)forwardingTargetForSelec tor:(SEL)aSelector; - (void)forwardInvocation:(NSInvocation *)anInvocation; - (NSMethodSignature *)methodSignatureForSelect or:(SEL)aSelector; + (NSMethodSignature *)instanceMethodSignatureF orSelector:(SEL)aSelector; + (NSString *)description; + (BOOL)isSubclassOfClass:(Class)aClass AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER; + (BOOL)resolveClassMethod:(SEL)sel AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; + (BOOL)resolveInstanceMethod:(SEL)sel AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; @end @interface NSObject (NSCoderMethods) + (NSInteger)version; + (void)setVersion:(NSInteger)aVersion; - (Class)classForCoder; - (id)replacementObjectForCode r:(NSCoder *)aCoder; - (id)awakeAfterUsingCoder:(NSCoder *)aDecoder; @end #if (TARGET_OS_MAC && !(TARGET_OS_EMBEDDED || TARGET_OS_IPHONE)) @interface NSObject (NSDeprecatedMethods) + (void)poseAsClass:(Class)aClass DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER #if __OBJC2__ UNAVAILABLE_ATTRIBUTE #endif ; @end #endif #if MAC_OS_X_VERSION_10_6 <= MAC_OS_X_VERSION_MAX_ALLOWED @protocol NSDiscardableContent @required - (BOOL)beginContentAccess; - (void)endContentAccess; - (void)discardContentIfPossible ; - (BOOL)isContentDiscarded; @end @interface NSObject (NSDiscardableContentProx y) - (id)autoContentAccessingProx y AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER; @end #endif FOUNDATION_EXPORT id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone); FOUNDATION_EXPORT void NSDeallocateObject(id object); FOUNDATION_EXPORT id NSCopyObject(id object, NSUInteger extraBytes, NSZone *zone); FOUNDATION_EXPORT BOOL NSShouldRetainWithZone(id anObject, NSZone *requestedZone); FOUNDATION_EXPORT void NSIncrementExtraRefCount (id object); FOUNDATION_EXPORT BOOL NSDecrementExtraRefCount WasZero(id object); FOUNDATION_EXPORT NSUInteger NSExtraRefCount(id object);