+ Reply to Thread
Results 1 to 2 of 2

Thread: NSDictionary?

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    7

    NSDictionary?

    How to declare NSDictionary

  2. #2
    Junior Member
    Join Date
    Oct 2012
    Posts
    10
    hi
    Code:
    NSMutableDictionary *myDictionary = [[ NSMutableDictionary alloc]
init];
    
[ myDictionary setObject:@"Keith" forKey:@"name"];
    
[ myDictionary setObject:@"hacker" forKey:@"subject"];

    [ myDictionary setObject:@"4/9/2002" forKey:@"date"];

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts