<?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-04-25T19:59:09+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h?rev=1402184643&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/init?rev=1401479538&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys?rev=1401479513&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/allkeys?rev=1708042339&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/count?rev=1402184093&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/examples/rootviewcontroller?rev=1708041979&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/examples/tabbarcontroller?rev=1708041979&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/objective-c/examples/navigationcontroller?rev=1708041979&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/nsdictionary.h?rev=1402184643&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-08T01:44:03+02:00</dc:date>
        <title>NSDictionary</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h?rev=1402184643&amp;do=diff</link>
        <description>NSDictionary

The NSDictionary class declares the programmatic interface to objects that manage immutable associations of keys and values. A key-value pair within a dictionary is called an entry.

Use this class when you need a convenient and efficient way to retrieve data associated with an arbitrary key.</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/init?rev=1401479538&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-30T21:52:18+02:00</dc:date>
        <title>init</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/init?rev=1401479538&amp;do=diff</link>
        <description>init

    

- (instancetype)init
 


Initializes a newly allocated dictionary.

Return Value
- NSDictionary

ObjC Sourcecode Example



    // ** Init dictionary **
    NSDictionary *myDictionary = [[NSDictionary alloc]init];
    
    // ** Output dictionary **
    NSLog(@&quot;myDictionary: %@&quot;, myDictionary);</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys?rev=1401479513&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-30T21:51:53+02:00</dc:date>
        <title>initWithObjectsAndKeys</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys?rev=1401479513&amp;do=diff</link>
        <description>initWithObjectsAndKeys

    

- (instancetype)initWithObjectsAndKeys:(id)firstObject, (NSString*)firstKey, ...
 


Initializes a newly allocated dictionary with entries constructed from the specified set of values and keys.

Return Value
- NSDictionary</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/allkeys?rev=1708042339&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:12:19+02:00</dc:date>
        <title>allKeys</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/allkeys?rev=1708042339&amp;do=diff</link>
        <description>allKeys

    

- (NSArray *)allKeys
 


Returns a new array containing the dictionary’s keys, or an empty array if the dictionary has no entries.

Return Value
- NSArray

ObjC Sourcecode Example



    // ** Init dictionary with entries
    NSDictionary *myDictionary = [[NSDictionary alloc]initWithObjectsAndKeys:@&quot;value1&quot;, @&quot;key1&quot;, @&quot;value2&quot;, @&quot;key2&quot;, nil];
    
    NSArray *keysArray = [myDictionary allKeys];
    
    // ** Output dictionary keys
    NSLog(@&quot;myDictionary all keys: %@&quot;, keysArra…</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/count?rev=1402184093&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-06-08T01:34:53+02:00</dc:date>
        <title>count</title>
        <link>https://code-reference.com/objective-c/foundation.framework/nsdictionary.h/count?rev=1402184093&amp;do=diff</link>
        <description>count

    

- (NSUInteger)count
 


Returns the number of entries in a dictionary.

Return Value
- NSUInteger

ObjC Sourcecode Example



    // ** Init dictionary with entries
    NSDictionary *myDictionary = [[NSDictionary alloc]initWithObjectsAndKeys:@&quot;value1&quot;, @&quot;key1&quot;, @&quot;value2&quot;, @&quot;key2&quot;, nil];
    
    int count = myDictionary.count;
    
    // ** Output dictionary count
    NSLog(@&quot;myDictionary count: %i&quot;, myDictionary.count);</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/examples/rootviewcontroller?rev=1708041979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:19+02:00</dc:date>
        <title>RootViewController</title>
        <link>https://code-reference.com/objective-c/examples/rootviewcontroller?rev=1708041979&amp;do=diff</link>
        <description>Add a UIViewController named RootViewController to your empty project

Add a RootViewController to your project

First step import the RootViewController.h in your AppDelegate


#import &quot;RootViewController.h&quot;


Second step initialize and add the RootViewController to window</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/examples/tabbarcontroller?rev=1708041979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:19+02:00</dc:date>
        <title>TabBarController</title>
        <link>https://code-reference.com/objective-c/examples/tabbarcontroller?rev=1708041979&amp;do=diff</link>
        <description>Add two UIViewController named RootViewController and SecondRootViewController to your empty project

Create a TabBarController for your project

First step import the RootViewController.h and SecondRootViewController.h in your AppDelegate


#import &quot;RootViewController.h&quot;
#import &quot;SecondRootViewController.h&quot;</description>
    </item>
    <item rdf:about="https://code-reference.com/objective-c/examples/navigationcontroller?rev=1708041979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:19+02:00</dc:date>
        <title>NavigationController</title>
        <link>https://code-reference.com/objective-c/examples/navigationcontroller?rev=1708041979&amp;do=diff</link>
        <description>Add a UIViewController named RootViewController to your empty project

Create a NavigationController for your project

First step import the RootViewController.h in your AppDelegate


#import &quot;RootViewController.h&quot;


Second step initialize NavigationController with RootViewController and add it to window</description>
    </item>
</rdf:RDF>
