你好,歡迎來到IOS教程網

 Ios教程網 >> IOS編程開發 >> IOS開發綜合 >> iOS 基礎類解析 - NSObject

iOS 基礎類解析 - NSObject

編輯:IOS開發綜合

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
Related sample code 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


  1. 上一頁:
  2. 下一頁:
蘋果刷機越獄教程| IOS教程問題解答| IOS技巧綜合| IOS7技巧| IOS8教程
Copyright © Ios教程網 All Rights Reserved