NSValue

Dok-tips for Foundation class NSValue

Immutable object wrapper

Used to wrap c-structures into an object so they can be stored in containers like NSArray, NSMutableArray, NSDictionary, ... NSSet, ...

Keep in mind that c structures are directly accessible within Objective-C, so NSValue objects are only needed when c-structures also need to be treated as objects