Number and Value Programming Topics for Cocoa
An NSValue object is a simple container for a single C or Objective-C data item. It can hold any of the scalar types such as int, float, and char, aswell as pointers, structures, and object ids. The purpose of this class is to allow items of such data types to be added to collection objects such as instances of NSArray or NSSet, which require their elements to be objects. NSValue objects are always immutable. To create an NSValue object with a particular data item, you provide a pointer to the item along with a C string describing the item’s type in Objective-C type encoding. You get this string using the @encode() compiler directive, which returns the platform-specific encoding for the given type (See the section “Type Encodings” in The Runtime System in The Objective-C 2.0 Programming Language for more information about @encode() and a list of type codes). [via]
http://developer.apple.com/documentation/Coco...

Related Files
Sponsored Links
Free Download RME Manual, Guide, Instructions, available in PDF ebooks format.