Classes
Class |
Abstract |
---|---|
NSObject
|
NSObject is the root class of most Objective-C class hierarchies. 在Objective-C的类层次结构树中,NSObject是大多数类的根类。 |
|
NSArray and its subclass NSMutableArray manage ordered collections of objects called arrays.
NSArray和其子类NSMutableArray管理对象的有序集合,所以称之为数组。 |
|
The NSMutableArray class declares the programmatic interface to objects that manage a modifiable array of objects.
NSMutableArray类为对象声明编程接口,以管理可编辑的对象数组。 |
|
NSAssertionHandler objects are automatically created to handle false assertions.
|
|
An NSAttributedString object manages character strings and associated sets of attributes (for example, font and kerning) that apply to individual characters or ranges of characters in the string.
|
|
NSMutableAttributedString declares the programmatic interface to objects that manage mutable attributed strings.
|
|
The NSAutoreleasePool class is used to support Cocoa’s reference-counted memory management system.
|
|
An NSBundle object represents a location in the file system that groups code and resources that can be used in a program.
|
|
An NSCache object is a collection-like container, or cache, that stores key-value pairs, similar to the NSDictionary class.
|
|
An NSCachedURLResponse object represents a cached response to a URL request.
|
|
Calendars encapsulate information about systems of reckoning time in which the beginning, length, and divisions of a year are defined. |
|
An NSCharacterSet object represents a set of Unicode-compliant characters.
|
|
The NSMutableCharacterSet class declares the programmatic interface to objects that manage a modifiable set of Unicode characters.
|
|
The NSCoder abstract class declares the interface used by concrete subclasses to transfer objects and other values between memory and some other format.
|
|
NSKeyedArchiver , a concrete subclass of NSCoder , provides a way to encode objects (and scalar values) into an architecture-independent format that can be stored in a file.
|
|
NSKeyedUnarchiver , a concrete subclass of NSCoder , defines methods for decoding a set of named objects (and scalar values) from a keyed archive.
|
|
The NSCondition class implements a condition variable whose semantics follow those used for POSIX -style conditions.
|
|
The NSConditionLock class defines objects whose locks can be associated with specific, user-defined conditions.
|
|
NSData and its mutable subclass NSMutableData provide data objects, object-oriented wrappers for byte buffers.
|
|
NSMutableData (and its superclass NSData ) provide data objects, object-oriented wrappers for byte buffers.
|
|
You should use the NSPurgeableData class when you have objects with bytes that can be discarded when no longer needed.
|
|
NSDate objects represent a single point in time.
|
|
NSDateComponents encapsulates the components of a date in an extendable, object-oriented manner.
|
|
NSDecimalNumberHandler is a class that adopts the NSDecimalNumberBehaviors protocol.
|
|
The NSDictionary class declares the programmatic interface to objects that manage immutable associations of keys and values.
|
|
The NSMutableDictionary class declares the programmatic interface to objects that manage mutable associations of keys and values.
|
|
NSEnumerator is an abstract class, instances of whose subclasses enumerate collections of other objects, such as arrays and dictionaries.
|
|
An NSDirectoryEnumerator object enumerates the contents of a directory, returning the pathnames of all files and directories contained within that directory.
|
|
An NSError object encapsulates richer and more extensible error information than is possible using only an error code or error string.
|
|
NSException is used to implement exception handling and contains information about an exception.
|
|
NSExpression is used to represent expressions in a predicate.
|
|
An NSExtensionContext object represents the host app context from which an app extension is invoked.
|
|
An NSExtensionItem object is an immutable collection of values representing different aspects of an item for the extension to act upon.
|
|
The NSFileAccessIntent class stores the details of coordinated-read and coordinated-write operations.
|
|
The NSFileCoordinator class coordinates the reading and writing of files and directories among multiple processes and objects in the same process.
|
|
The NSFileHandle class is an object-oriented wrapper for a file descriptor.
|
|
An NSFileManager object lets you examine the contents of the file system and make changes to it.
|
|
The NSFileSecurity class is an Objective-C stub class that is transparently bridged to CFFileSecurity .
|
|
An NSFileVersion object represents a snapshot of a file at a specific point in time.
|
|
The NSFileWrapper class provides access to the attributes and contents of file-system nodes.
|
|
NSFormatter is an abstract class that declares an interface for objects that create, interpret, and validate the textual representation of cell contents.
|
|
The NSByteCountFormatter class converts a byte count value into a textual representation that is formatted with the appropriate byte modifier (KB, MB, GB and so on).
|
|
|
|
Instances of NSDateFormatter create string representations of NSDate objects, and convert textual representations of dates and times into NSDate objects.
|
|
|
|
The NSEnergyFormatter class provides properly formatted, localized descriptions of energy values.
|
|
The NSLengthFormatter class provides properly formatted, localized descriptions of linear distances (for example, length and height measurements).
|
|
The NSMassFormatter class provides properly formatted, localized descriptions of mass and weight values.
|
|
Instances of NSNumberFormatter format the textual representation of cells that contain NSNumber objects and convert textual representations of numeric values into NSNumber objects.
|
|
NSHashTable is modeled after NSSet but provides different options, in particular to support weak relationships.
|
|
An NSHTTPCookie object represents an HTTP cookie.
|
|
NSHTTPCookieStorage implements a singleton object (shared instance) that manages storage of cookies.
|
|
The NSIndexPath class represents the path to a specific node in a tree of nested array collections.
|
|
The NSIndexSet class represents an immutable collection of unique unsigned integers, known as indexes because of the way they are used.
|
|
The NSMutableIndexSet class represents a mutable collection of unique unsigned integers, known as indexes because of the way they are used.
|
|
An NSInvocation is an Objective-C message rendered static, that is, it is an action turned into an object.
|
|
The NSItemProvider class defines an object that represents a high-level abstraction for data objects that can be found in an NSExtensionItem object’s attachments property, such as text, images, and URLs.
|
|
You use the NSJSONSerialization class to convert JSON to Foundation objects and convert Foundation objects to JSON.
|
|
The NSLinguisticTagger class is used to automatically segment natural-language text and tag it with information, such as parts of speech.
|
|
Locales encapsulate information about linguistic, cultural, and technological conventions and standards. |
|
An NSLock object is used to coordinate the operation of multiple threads of execution within the same application.
|
|
NSMapTable is a mutable collection modeled after NSDictionary but provides different options.
|
|
The NSMetadataItem class represents the metadata associated with a file, providing a simple interface to retrieve the available attribute names and values.
|
|
The NSMetadataQuery class encapsulates the functionality provided by the MDQuery opaque type for querying the Spotlight metadata.
|
|
The NSMetadataQueryAttributeValueTuple class represents attribute-value tuples, which are objects that contain the attribute name and value of a metadata attribute.
|
|
The NSMetadataQueryResultGroup class represents a collection of grouped attribute results returned by an NSMetadataQuery object.
|
|
An NSMethodSignature object records type information for the arguments and return value of a method.
|
|
The NSNetService class represents a network service, either one your application publishes or is a client of.
|
|
The NSNetServiceBrowser class defines an interface for finding published services on a network using multicast DNS.
|
|
NSNotification objects encapsulate information so that it can be broadcast to other objects by an NSNotificationCenter object.
|
|
An NSNotificationCenter object (or simply, notification center) provides a mechanism for broadcasting information within a program.
|
|
NSNotificationQueue objects (or simply notification queues) act as buffers for notification centers (instances of NSNotificationCenter ).
|
|
The NSNull class defines a singleton object used to represent null values in collection objects (which don’t allow nil values).
|
|
The NSOperation class is an abstract class you use to encapsulate the code and data associated with a single task.
|
|
The NSBlockOperation class is a concrete subclass of NSOperation that manages the concurrent execution of one or more blocks.
|
|
The NSInvocationOperation class is a concrete subclass of NSOperation that manages the execution of a single encapsulated task specified as an invocation.
|
|
The NSOperationQueue class regulates the execution of a set of NSOperation objects.
|
|
NSOrderedSet and its subclass, NSMutableOrderedSet , declare the programmatic interfaces to an ordered collection of objects.
|
|
NSMutableOrderedSet class declares the programmatic interface to a mutable, ordered collection of distinct objects.
|
|
The NSOrthography class describes the linguistic content of a piece of text, typically used for the purposes of spelling and grammar checking.
|
|
NSPipe objects provide an object-oriented interface for accessing pipes.
|
|
NSPointerArray is a mutable collection modeled after NSArray but it can also hold NULL values, which can be inserted or extracted (and which contribute to the object’s count).
|
|
An instance of NSPointerFunctions defines callout functions appropriate for managing a pointer reference held somewhere else.
|
|
NSPort is an abstract class that represents a communication channel.
|
|
NSMachPort is a subclass of NSPort that can be used as an endpoint for distributed object connections (or raw messaging).
|
|
NSMessagePort is a subclass of NSPort that can be used as an endpoint for distributed object connections (or raw messaging).
|
|
The NSPredicate class is used to define logical conditions used to constrain a search either for a fetch or for in-memory filtering.
|
|
NSComparisonPredicate is a subclass of NSPredicate that you use to compare expressions.
|
|
NSCompoundPredicate is a subclass of NSPredicate used to represent logical “gate” operations (AND/OR/NOT) and comparison operations.
|
|
The NSProcessInfo class provides methods to access information about the current process.
|
|
The NSProgress class provides a self-contained mechanism for progress reporting.
|
|
The NSPropertyListSerialization class provides methods that convert property list objects to and from several serialized formats.
|
|
NSRecursiveLock defines a lock that may be acquired multiple times by the same thread without causing a deadlock, a situation where a thread is permanently blocked waiting for itself to relinquish a lock.
|
|
The NSRegularExpression class is used to represent and apply regular expressions to Unicode strings.
|
|
The NSDataDetector class is a specialized subclass of the NSRegularExpression class designed to match data detectors.
|
|
The NSRunLoop class declares the programmatic interface to objects that manage input sources.
|
|
The NSScanner class is an abstract superclass of a class cluster that declares the programmatic interface for an object that scans values from an NSString object.
|
|
The NSSet , NSMutableSet , and NSCountedSet classes declare the programmatic interface to an unordered collection of objects.
|
|
The NSMutableSet class declares the programmatic interface to a mutable, unordered collection of distinct objects.
|
|
The NSCountedSet class declares the programmatic interface to a mutable, unordered collection of indistinct objects.
|
|
An instance of NSSortDescriptor describes a basis for ordering objects by specifying the property to use to compare the objects, the method to use to compare the properties, and whether the comparison should be ascending or descending.
|
|
NSStream is an abstract class for objects representing streams.
|
|
NSInputStream is a subclass of NSStream that provides read-only stream functionality.
|
|
The NSOutputStream class is a subclass of NSStream that provides write-only stream functionality.
|
|
The NSString class declares the programmatic interface for an object that manages immutable strings.
|
|
The NSMutableString class declares the programmatic interface to an object that manages a mutable string—that is, a string whose contents can be edited—that conceptually represents an array of Unicode characters.
|
|
NSTextCheckingResult is a class used to describe items located by text checking.
|
|
An NSThread object controls a thread of execution.
|
|
You use the NSTimer class to create timer objects or, more simply, timers.
|
|
NSTimeZone is an abstract class that defines the behavior of time zone objects.
|
|
Use the iCloud key-value store to make preference, configuration, and app-state data available to every instance of your app on every device connected to a user’s iCloud account. |
|
NSUndoManager is a general-purpose recorder of operations for undo and redo.
|
|
An NSURL object represents a URL that can potentially contain the location of a resource on a remote server, the path of a local file on disk, or even an arbitrary piece of encoded data.
|
|
NSURLAuthenticationChallenge encapsulates a challenge from a server requiring authentication from the client.
|
|
The NSURLCache class implements the caching of responses to URL load requests by mapping NSURLRequest objects to NSCachedURLResponse objects.
|
|
The NSURLComponents class is a class that is designed to parse URLs based on RFC 3986 and to construct URLs from their constituent parts.
|
|
An NSURLConnection object lets you load the contents of a URL by providing a URL request object.
|
|
NSURLCredential is an immutable object representing an authentication credential consisting of authentication information specific to the type of credential and the type of persistent storage to use, if any.
|
|
NSURLCredentialStorage implements a singleton (shared object) that manages the credential storage.
|
|
An NSURLProtectionSpace object represents a server or an area on a server, commonly referred to as a realm, that requires authentication.
|
|
NSURLProtocol is an abstract class that provides the basic structure for performing protocol-specific loading of URL data.
|
|
An NSURLQueryItem object represents a single name/value pair for an item in the query portion of a URL.
|
|
NSURLRequest objects represent a URL load request in a manner independent of protocol and URL scheme.
|
|
NSMutableURLRequest is a subclass of NSURLRequest provided to aid developers who may find it more convenient to mutate a single request object for a series of URL load requests instead of creating an immutable NSURLRequest object for each load.
|
|
The NSURLResponse class encapsulates the metadata associated with the response to a a URL load request in a manner independent of protocol and URL scheme.
|
|
The NSHTTPURLResponse class is a subclass of NSURLResponse that provides methods for accessing information specific to HTTP protocol responses.
|
|
The NSURLSession class and related classes provide an API for downloading content via HTTP.
|
|
An NSURLSessionConfiguration object defines the behavior and policies to use when uploading and downloading data using an NSURLSession object.
|
|
The NSURLSessionTask class is the base class for tasks in a URL session.
|
|
An NSURLSessionDataTask is a concrete subclass of NSURLSessionTask .
|
|
The NSURLSessionUploadTask class is a subclass of NSURLSessionDataTask , which in turn is a concrete subclass of NSURLSessionTask .
|
|
An NSURLSessionDownloadTask is a concrete subclass of NSURLSessionTask .
|
|
An NSUserActivity object encapsulates the state of a user activity in an application on a particular device in a way that allows the same activity to be continued on another device in a corresponding application from the same developer.
|
|
The NSUserDefaults class provides a programmatic interface for interacting with the defaults system.
|
|
The NSUUID class creates UUID strings that are to uniquely identify types, interfaces, and other items.
|
|
An NSValue object is a simple container for a single C or Objective-C data item.
|
|
NSNumber is a subclass of NSValue that offers a value as any C scalar (numeric) type.
|
|
NSDecimalNumber , an immutable subclass of NSNumber , provides an object-oriented wrapper for doing base-10 arithmetic.
|
|
NSValueTransformer is an abstract class that is used by the Cocoa Bindings technology to transform values from one representation to another.
|
|
Instances of this class parse XML documents (including DTD declarations) in an event-driven manner. |
NSProxy
|
NSProxy is an abstract superclass defining an API for objects that act as stand-ins for other objects or for objects that don’t exist yet.
|
时间: 2024-10-24 13:43:45