首页 > 代码库 > iOS 基础类解析 - NSObject
iOS 基础类解析 - NSObject
iOS 基础类解析 - NSObject
太阳火神的美丽人生 (http://blog.csdn.net/opengl_es)
本文遵循“署名-非商业用途-保持一致”创作公用协议
转载请保留此句:太阳火神的美丽人生 - 本博客专注于 敏捷开发及移动和物联设备研究:iOS、Android、Html5、Arduino、pcDuino,否则,出自本博客的文章拒绝转载或再转载,谢谢合作。
NSObject Class Reference
Inherits from | none (NSObject is a root class) |
Conforms to | NSObject |
Framework | /System/Library/Frameworks/Foundation.framework |
Availability | Available in iOS 2.0 and later. |
Declared in | NSKeyedArchiver.h NSObject.h NSRunLoop.h NSThread.h objc/NSObject.h |
AdvancedURLConnections AVPlayerDemo CryptoExercise PhotosByLocation TheElements |
Initializing a Class
+ initialize
+ load
Creating, Copying, and Deallocating Objects
+ alloc
+ allocWithZone:
– init
– copy
+ copyWithZone:
– mutableCopy
+ mutableCopyWithZone:
– dealloc
+ new
Identifying Classes
+ class
+ superclass
+ isSubclassOfClass:
Testing Class Functionality
+ instancesRespondToSelector:
Testing Protocol Conformance
+ conformsToProtocol:
Obtaining Information About Methods
– methodForSelector:
+ instanceMethodForSelector:
+ instanceMethodSignatureForSelector:
– methodSignatureForSelector:
Describing Objects
+ description
Discardable Content Proxy Support
– autoContentAccessingProxy
Sending Messages
– performSelector:withObject:afterDelay:
– performSelector:withObject:afterDelay:inModes:
– performSelectorOnMainThread:withObject:waitUntilDone:
– performSelectorOnMainThread:withObject:waitUntilDone:modes:
– performSelector:onThread:withObject:waitUntilDone:
– performSelector:onThread:withObject:waitUntilDone:modes:
– performSelectorInBackground:withObject:
+ cancelPreviousPerformRequestsWithTarget:
+ cancelPreviousPerformRequestsWithTarget:selector:object:
Forwarding Messages
– forwardingTargetForSelector:
– forwardInvocation:
Dynamically Resolving Methods
+ resolveClassMethod:
+ resolveInstanceMethod:
Error Handling
– doesNotRecognizeSelector:
Archiving
– awakeAfterUsingCoder:
– classForCoder
– classForKeyedArchiver
+ classFallbacksForKeyedArchiver
+ classForKeyedUnarchiver
– replacementObjectForCoder:
– replacementObjectForKeyedArchiver:
+ setVersion:
+ version
Deprecated Methods
– finalize
Copyright ? 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-12-16
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。