User Tools

Site Tools


objective-c:foundation.framework:nsdictionary.h:initwithobjectsandkeys

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

objective-c:foundation.framework:nsdictionary.h:initwithobjectsandkeys [2014/05/30 21:23]
Mo created
objective-c:foundation.framework:nsdictionary.h:initwithobjectsandkeys [2014/05/30 21:51] (current)
Mo
Line 13: Line 13:
  
 **Parameters** **Parameters**
-A null-terminated list of alternating values and keys.+A null-terminated list of alternating values and keys.
  
 firstObject - The first value to add to the new dictionary. firstObject - The first value to add to the new dictionary.
Line 23: Line 23:
 <code objc> <code objc>
  
-    // ** Init dictionary with entries+    // ** Init dictionary with entries **
     NSDictionary *myDictionary = [[NSDictionary alloc]initWithObjectsAndKeys:@"value1", @"key1", @"value2", @"key2", nil];     NSDictionary *myDictionary = [[NSDictionary alloc]initWithObjectsAndKeys:@"value1", @"key1", @"value2", @"key2", nil];
          
-    // ** Output dictionary+    // ** Output dictionary **
     NSLog(@"myDictionary: %@", myDictionary);     NSLog(@"myDictionary: %@", myDictionary);
  
advertising
objective-c/foundation.framework/nsdictionary.h/initwithobjectsandkeys.1401477817.txt · Last modified: 2014/05/30 21:23 by Mo

Impressum Datenschutz