在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
See Number and Value Programming Topics and Collections Programming Topics for more information.
The An
See String Programming Guide for more information.
The Together with See Date and Time Programming Guide for more information.
Collections of Objective-C objects, such as See Sort Descriptor Programming Topics and Predicate Programming Guide for more information.
You can use an See Notification Programming Topics for more information.
The data that an object contains can be represented in an architecture-independent way using The See Archives and Serializations Programming Guide for more information.
Several classes are designed to insulate you from the idiosyncrasies of various operating systems.
See File System Programming Guide for more information.
A set of classes and protocols that allow your app to access content referenced by a URL, as represented by the
including
See URL Session Programming Guide for more information. Value Object1.NSAffineTransform (2015-12-08) NSAffineTransform class is available in Cocoa framework for the Mac OS X development. And CGAffineTransform class is available in the Cocoa Touch framework for the iOS application development. If you implementing application in iOS Use CGAffineTransform 2.NSCalendar (2015-12-08) Calendars encapsulate information about systems of reckoning time in which the beginning, length, and divisions of a year are defined. They provide information about the calendar and support for calendrical computations such as determining the range of a given calendrical unit and adding units to a given absolute time. NSCalendar is “toll-free bridged” with its Core Foundation counterpart, CFCalendarRef. See Toll-Free Bridging for more information on toll-free bridging herf1 herf2 3.NSCache (2015-12-08) An NSCache object is a collection-like container, or cache, that stores key-value pairs, similar to the NSDictionary class. Developers often incorporate caches to temporarily store objects with transient data tha-t are expensive to create. Reusing these objects can provide performance benefits, because their values do not have to be recalculated. However, the objects are not critical to the application and can be discard-ed if memory is tight. If discarded, their values will have to be recomputed again when needed. 4.NSData(2015-12-09) NSData and its mutable subclass NSMutableData provide data objects, object-oriented wrappers for byte buffers. Data objects let simple allocated buffers (that is, data with no embedded pointers) take on the behavior of Foundation objects. NSData creates static data objects, and NSMutableData creates dynamic data objects. NSData and NSMutableData are typically used for data storage and are also useful in Distributed Objects applications, where datacontained in data objects can be copied or moved between applications. The size of the data is subject to a theoretical limit of about 8 ExaBytes (in practice, the limit should not be a factor). NSData is “toll-free bridged” with its Core Foundation counterpart, CFDataRef. See Toll-Free Bridging for more information on toll-free bridging. herf1 herf2 5.NSMutableData(2015-12-09) NSMutableData (and its superclass NSData) provide data objects, object-oriented wrappers for byte buffers. Data objects let simple allocated buffers (that is, data with no embedded pointers) take on the behavior of Foundation objects. They are typically used for data storage and are also useful in Distributed Objects applications, where data contained in data objects can be copied or moved between applications. NSData creates static data objects, and NSMutableData creates dynamic data objects. You can easily convert one type of data object to the other with the initializer that takes an NSData object or an NSMutableData object as an argument. 6.NSPurgeableData(2015-12-10) You should use the NSPurgeableData class when you have objects with bytes that can be discarded when no longer needed. Purging these bytes may be advantageous for your system, because doing so frees up memory needed by other applications. The NSPurgeableData class provides a default implementation of the NSDiscardableContent protocol, from which it inherits its interface. 7.NSDate(2015-12-10) NSDate objects encapsulate a single point in time, independent of any particular calendrical system or time zone. Date objects are immutable, representing an invariant time interval relative to an absolute reference date (00:00:00 UTC on 1 January 2001).
|
请发表评论