NSObject
The root class of most Foundation class hierarchies.
class NSObjectThe root class of most Foundation class hierarchies.
class NSObjectimport Foundationprotocol CopyableA type whose values can be implicitly or explicitly copied.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertibleA type with a customized textual representation.
protocol EquatableA type that can be compared for value equality.
protocol Escapableprotocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol NSObjectProtocol : AnyObjectThe NSObjectProtocol groups methods that are fundamental to all Foundation objects.
init() Implemented by subclasses to initialize a new object immediately after memory for it has been allocated.
class var superclass: AnyClass? { get }class func classFallbacksForKeyedArchiver() -> [String] Overridden to return the names of classes that can be used to decode objects if their class is unavailable.
class func classForKeyedUnarchiver() -> AnyClass Overridden by subclasses to substitute a new class during keyed unarchiving.
class func isSubclass(of aClass: AnyClass) -> Bool Returns a Boolean value that indicates whether the receiving class is a subclass of, or identical to, a given class.
var classForCoder: AnyClass { get }Overridden by subclasses to substitute a class other than its own during coding.
var classForKeyedArchiver: AnyClass? { get }Subclasses to substitute a new class for instances during keyed archiving.
var debugDescription: String { get }Returns a string that describes the contents of the instance for presentation in the debugger.
var description: String { get }Returns a string that describes the contents of the instance.
var hash: Int { get }final var hashValue: Int { get }The hash value.
static func == (lhs: NSObject, rhs: NSObject) -> Bool func copy() -> Any Returns the object returned by copy(with:).
final func hash(into hasher: inout Hasher) Hashes the essential components of this value by feeding them into the given hasher.
func isEqual(_ object: Any?) -> Bool Returns a Boolean value that indicates whether the instance is equal to another given object.
func isKind(of aClass: AnyClass) -> Bool func isMember(of aClass: AnyClass) -> Bool func isProxy() -> Bool func mutableCopy() -> Any Returns the object returned by mutableCopy(with:) where the zone is nil.
func replacementObject(for archiver: NSKeyedArchiver) -> Any? Overridden by subclasses to substitute another object for itself during keyed archiving.
func replacementObject(for aCoder: NSCoder) -> Any? Overridden by subclasses to substitute another object for itself during encoding.
func `self`() -> Self static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
class Bundleclass FileHandleclass Formatterclass Hostclass JSONSerializationclass NSAffineTransformclass NSArrayclass NSAttributedStringclass NSCache<KeyType, ObjectType> where KeyType : AnyObject, ObjectType : AnyObjectclass NSCalendarclass NSCharacterSetclass NSCoderThe NSCoder abstract class declares the interface used by concrete subclasses to transfer objects and other values between memory and some other format. This capability provides the basis for archiving (where objects and data items are stored on disk) and distribution (where objects and data items are copied between different processes or threads). The concrete subclasses provided by Foundation for these purposes are NSKeyedArchiver and NSKeyedUnarchiver. Concrete subclasses of NSCoder are referred to in general as coder classes, and instances of these classes as coder objects (or simply coders). A coder object that can only encode values is referred to as an encoder object, and one that can only decode values as a decoder object.
class NSConditionclass NSConditionLockclass NSDataclass NSDateclass NSDateComponentsclass NSDateIntervalclass NSDecimalNumberHandler********* A class for defining common behaviors ******
class NSDictionaryclass NSEnumeratorclass NSErrorclass NSIndexPathclass NSIndexSetclass NSLocaleclass NSLockclass NSMeasurementclass NSNotificationclass NSNullclass NSOrderedSetclass NSPersonNameComponentsclass NSPredicateclass NSRecursiveLockclass NSRegularExpressionclass NSSetclass NSSortDescriptorclass NSStringclass NSTextCheckingResultclass NSTimeZoneclass NSURLclass NSURLComponentsclass NSURLQueryItemclass NSUUIDclass NSValueclass NotificationCenterclass NotificationQueueclass Operationclass OperationQueueclass Pipeclass Portclass PortMessageclass Processclass ProgressProgress is used to report the amount of work done, and provides a way to allow the user to cancel that work.
class PropertyListSerializationclass RunLoopclass Scannerclass Streamclass Threadclass Timerclass Unitclass UnitConverterclass UserDefaultsclass NSExpressionclass NSOrthographyimport FoundationNetworkingclass CachedURLResponseclass HTTPCookieHTTPCookie represents an http cookie.
class HTTPCookieStorageclass NSURLRequestAn NSURLRequest object represents a URL load request in a manner independent of protocol and URL scheme.
class URLAuthenticationChallengeclass URLCacheclass URLCredentialclass URLCredentialStorageclass URLProtectionSpaceclass URLProtocolclass URLResponseAn URLResponse object represents a URL load response in a manner independent of protocol and URL scheme.
class URLSessionclass URLSessionConfigurationConfiguration options for an URLSession.
class URLSessionTaskA cancelable object that refers to the lifetime of processing a given request.
class URLSessionTaskMetricsclass URLSessionTaskTransactionMetricsimport FoundationXMLclass XMLNodeclass XMLParser