Top "Nsdictionary" questions

A member of Apple's Objective-C framework Cocoa.

AFNetworking 2.0 - use responseObject as NSDictionary

AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; [manager GET:@"http://example.com/resources.json" parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) { NSLog(@"JSON: %@", …

ios iphone objective-c nsdictionary afnetworking-2
How do I convert NSDictionary to Dictionary?

I have already updated to XCode 8 and now I need to convert my code from Swift 2 to Swift 3. Before, when …

swift dictionary nsdictionary objective-c-swift-bridge
Passing data from local file using json

I am trying to pass data to labels from my JSON file onto a simple ViewController but I don't know …

ios json nsdictionary
Restoring a BOOL inside an NSDictionary from a plist file

I have a plist file which contains an array of dictionaries. Here is one of them: Fred Dictionary Name Fred …

objective-c cocoa boolean nsdictionary property-list
Obj-C easy method to convert from NSObject with properties to NSDictionary?

I ran across something that I eventually figured out, but think that there's probably a much more efficient way to …

objective-c ios nsdictionary
Which method of checking to see if a NSDictionary contains a particular key is faster?

I can test for the presence of a key in an NSDictionary in two ways: BOOL containsKey = [[dictionary allKeys] containsObject:…

cocoa performance nsdictionary
how to do true deep copy for NSArray and NSDictionary with have nested arrays/dictionary?

Question: Is there a way to use existing objective-c methods to do a full deep copy of a NSDictionary or …

iphone nsdictionary nsmutabledictionary deep-copy
How can i get Original order of NSDictionary/NSMutableDictionary?

i have created NSMutableDictionary with 10 keys.Now i want to access NSMutableDictionary keys in a same order as it was …

iphone nsmutablearray nsdictionary nsmutabledictionary
Directly accessing nested dictionary values in Objective-C

Is there a way to directly access an inner-array of an an outer array in Objective-C? For example, a call …

iphone objective-c dictionary nsdictionary key-value-coding
Initialize instance variables as key/value pair from NSDictionary?

I have my NSObject subclass's public interface defined as, @interface MyObject : NSObject { NSString *_key1; NSString *_key2; NSString *_key3; } - (id)…

objective-c initialization nsdictionary nsobject kvc