你好,歡迎來到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:
    • C init
    • C copy
    • + copyWithZone:
    • C mutableCopy
    • + mutableCopyWithZone:
    • C dealloc
    • + new

      Identifying Classes

      • + class
      • + superclass
      • + isSubclassOfClass:

        Testing Class Functionality

        • + instancesRespondToSelector:

          Testing Protocol Conformance

          • + conformsToProtocol:

            Obtaining Information About Methods

            • C methodForSelector:
            • + instanceMethodForSelector:
            • + instanceMethodSignatureForSelector:
            • C methodSignatureForSelector:

              Describing Objects

              • + description

                Discardable Content Proxy Support

                • C autoContentAccessingProxy

                  Sending Messages

                  • C performSelector:withObject:afterDelay:
                  • C performSelector:withObject:afterDelay:inModes:
                  • C performSelectorOnMainThread:withObject:waitUntilDone:
                  • C performSelectorOnMainThread:withObject:waitUntilDone:modes:
                  • C performSelector:onThread:withObject:waitUntilDone:
                  • C performSelector:onThread:withObject:waitUntilDone:modes:
                  • C performSelectorInBackground:withObject:
                  • + cancelPreviousPerformRequestsWithTarget:
                  • + cancelPreviousPerformRequestsWithTarget:selector:object:

                    Forwarding Messages

                    • C forwardingTargetForSelector:
                    • C forwardInvocation:

                      Dynamically Resolving Methods

                      • + resolveClassMethod:
                      • + resolveInstanceMethod:

                        Error Handling

                        • C doesNotRecognizeSelector:

                          Archiving

                          • C awakeAfterUsingCoder:
                          • C classForCoder
                          • C classForKeyedArchiver
                          • + classFallbacksForKeyedArchiver
                          • + classForKeyedUnarchiver
                          • C replacementObjectForCoder:
                          • C replacementObjectForKeyedArchiver:
                          • + setVersion:
                          • + version

                            Deprecated Methods

                            • C 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