You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate tool.
===== valueWithCGPoint =====
<code objc>
+ (NSValue *)valueWithCGPoint:(CGPoint)point;
</code>
Creates and returns an NSValue object that contains the value of a CGPoint.
**Return Value**
- A new NSValue object.
===== ObjC Sourcecode Example =====
<code objc>
// ** Sample datatype **
... GPointMake(150.0f, 200.0f);
// ** Create nsvalue object **
NSValue *cgPointValue = [NSValue va
===== valueWithCGSize =====
<code objc>
+ (NSValue *)valueWithCGSize:(CGSize)size;
</code>
Creates and returns an NSValue object that contains the value of a CGSize.
**Return Value**
- A new NSValue object.
===== ObjC Sourcecode Example =====
<code objc>
// ** Sample datatype **
CGSiz... (150.0f, 200.0f);
// ** Add the value to nsvalue object **
NSValue *cgSizeValue = [NSValue val
===== NSValue =====
An NSValue object is a simple container for a single C or Objective-C data item.\\
[[objective-c:foundation.framework:nsvalue.h:valueWithCGPoint|valueWithCGPoint]]\\
[[objective-c:foundation.framework:nsvalue.h:valueWithCGRect|valueWithCGRect]]\\
[[objective-c:foundation.framework:nsvalue.h:valueWithCGSize|valueWithCGSize]]\\