Top "Nsdictionary" questions

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

How do I pull an integer out of a NSDictionary and put it in an integer?

I've got an NSDictionary that was initialized with a plist that, among other things, contained count followed by 32 and I …

iphone nsdictionary
NSDictionary keys sorted by value numerically

I store names as keys and scores as values into an NSDictionary for saving in NSUserDefaults. I then want to …

objective-c cocoa-touch sorting nsdictionary
How do I use the writeToFile method on an NSMutableDictionary?

I would like to use a method (writeToFile) only available for NSDictionary to a NSMutableDictionary object. So, how do I …

iphone ios ios4 nsdictionary nsmutabledictionary
Type '[String, AnyObject?]' does not conform to protocol AnyObject?: why?

I'm trying to understand why I have a compilation error: Type '[String, AnyObject?]' does not conform to protocol …

dictionary swift compiler-errors nsdictionary literals
is it possible to save NSMutableArray or NSDictionary data as file in iOS?

I want to save an NSMutableArray or NSDictionary as a permanent file. Then, I would like to reopen the file …

ios cocoa-touch nsmutablearray nsdictionary nsdata
Using valueForKeyPath on NSDictionary if a key starts the @ symbol?

I want to use valueForKeyPath on my NSDictionary, but the problem is that one of the keys is a string …

iphone objective-c nsdictionary key-value-coding
What's the difference between a dictionary and an array?

What is the difference between a dictionary and an array, especially when working with PLIST files? What are the advantages …

objective-c ios nsarray plist nsdictionary
How to convert NSDictionary to custom object

I have a json object: @interface Order : NSObject @property (nonatomic, retain) NSString *OrderId; @property (nonatomic, retain) NSString *Title; @property (nonatomic, …

ios objective-c json nsdictionary nsjsonserialization
Writing swift dictionary to file

There are limitations with writing NSDictionaries into files in swift. Based on what I have learned from api docs and …

swift dictionary nsdictionary plist
receiving collection element of type int is not an objective c object in iOS

I have the following dictionary: NSDictionary* jsonDict = @{ @"firstName": txtFirstName.text, @"lastName": txtLastName.text, @"email": txtEmailAddress.text, @"password": txtPassword.text, @"imageUrl": …

ios nsdictionary