<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://code-reference.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://code-reference.com/feed.php">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <description></description>
        <link>https://code-reference.com/</link>
        <image rdf:resource="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-07-18T00:56:16+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgpoint?rev=1708042343&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgsize?rev=1708042343&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgrect?rev=1708042343&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsvalue.h?rev=1708041981&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework?rev=1401473290&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsnumber.h?rev=1708041980&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgpoint?rev=1708042343&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:23+02:00</dc:date>
        <title>valueWithCGPoint</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgpoint?rev=1708042343&amp;do=diff</link>
        <description>valueWithCGPoint

    

+ (NSValue *)valueWithCGPoint:(CGPoint)point;
 


Creates and returns an NSValue object that contains the value of a CGPoint.

Return Value
- A new NSValue object.

ObjC Sourcecode Example



    // ** Sample datatype **
    CGPoint aPoint = CGPointMake(150.0f, 200.0f);
    
    // ** Create nsvalue object **
    NSValue *cgPointValue = [NSValue valueWithCGPoint:aPoint];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, cgPointValue);</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgsize?rev=1708042343&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:23+02:00</dc:date>
        <title>valueWithCGSize</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgsize?rev=1708042343&amp;do=diff</link>
        <description>valueWithCGSize

    

+ (NSValue *)valueWithCGSize:(CGSize)size;
 


Creates and returns an NSValue object that contains the value of a CGSize.

Return Value
- A new NSValue object.

ObjC Sourcecode Example



    // ** Sample datatype **
    CGSize aSize = CGSizeMake(150.0f, 200.0f);
    
    // ** Add the value to nsvalue object **
    NSValue *cgSizeValue = [NSValue valueWithCGSize:aSize];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, cgSizeValue);</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgrect?rev=1708042343&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:23+02:00</dc:date>
        <title>valueWithCGRect</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsvalue.h/valuewithcgrect?rev=1708042343&amp;do=diff</link>
        <description>valueWithCGRect

    

+ (NSValue *)valueWithCGRect:(CGRect)rect;
 


Creates and returns an NSValue object that contains the value of a CGRect.

Return Value
- A new NSValue object.

ObjC Sourcecode Example



    //** Sample datatype **
    CGRect aRect = CGRectMake(0.0f, 0.0f, 150.0f, 200.0f);
    
    // ** Create nsvalue object **
    NSValue *cgRectValue = [NSValue valueWithCGRect:aRect];
    
    // ** Output **
    NSLog(@&quot;%@&quot;, cgRectValue);</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsvalue.h?rev=1708041981&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:21+02:00</dc:date>
        <title>NSValue</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsvalue.h?rev=1708041981&amp;do=diff</link>
        <description>NSValue

An NSValue object is a simple container for a single C or Objective-C data item.

valueWithCGPoint

valueWithCGRect

valueWithCGSize</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework?rev=1401473290&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-30T20:08:10+02:00</dc:date>
        <title>foundation.framework</title>
        <link>https://code-reference.com/objective-c/foundation.framework?rev=1401473290&amp;do=diff</link>
        <description>foundation.framework

nsstring.h

nsnumber.h

nsvalue.h

nsarray.h

nsmutablearray.h

nsfilemanager.h

nsdictionary.h</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsnumber.h?rev=1708041980&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:20+02:00</dc:date>
        <title>NSNumber</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsnumber.h?rev=1708041980&amp;do=diff</link>
        <description>NSNumber

NSNumber is a subclass of NSValue that offers a value as any C scalar (numeric) type.

 Method                 Description                 initWith    initWithBool    initWithInt    initWithInteger    initWithDouble    initWithFloat    numberWith   boolValue    intValue    doubleValue   floatValue   charValue   descriptionWithLocale   isEqualToNumber  compares object with Number initWithUnsignedInt</description>
    </item>
</rdf:RDF>
