Top "Nsdictionary" questions

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

How can we store into an NSDictionary? What is the difference between NSDictionary and NSMutableDictionary?

I am developing an application in which I want to use an NSDictionary. Can anyone please send me a sample …

iphone objective-c nsdictionary nsmutabledictionary
NSDictionary to NSArray?

i have a NSDictionary which looks like: { "Item1" = 2.4; "Item2" = 5.5; "Item3" = 15.6; } To use this NSDictionary Items in a Table View i …

objective-c nsarray nsdictionary
Using NSPredicate to filter an NSArray based on NSDictionary keys

I have an array of dictionaries. I want to filter the array based on a key. I tried this: NSPredicate *…

objective-c cocoa nsarray nsdictionary nspredicate
NSDictionary - Need to check whether dictionary contains key-value pair or not

I just need to ask something as follow. Suppose I am having a dictionary. NSMutableDictionary *xyz=[[NSMutableDictionary alloc] init]; [xyz …

ios objective-c nsdictionary
Check key exists in NSDictionary

how can I check if this exists?: [[dataArray objectAtIndex:indexPathSet.row] valueForKey:@"SetEntries"] I want to know whether this key …

ios objective-c iphone nsdictionary
NSDictionary to NSData and NSData to NSDictionary in Swift

I am not sure if I am using the dictionary or the data object or both incorrectly. I m trying …

ios swift nsdictionary nsdata
swift: Add multiple <key, value> objects to NSDictionary

I'm trying to add multiple objects to NSDictionary, like var myDict: NSDictionary = [["fname": "abc", "lname": "def"], ["fname": "ghi", "lname": "jkl"], ...] …

ios json swift nsdictionary key-value
Best practice? - Array/Dictionary as a Core Data Entity Attribute

I am new to Core Data. I have noticed that collection types are not available as attribute types and would …

objective-c ios core-data nsarray nsdictionary
Convert JSON feed to NSDictionary

Where JSON_CATEGORY_DATA_URL_STRING is my feed URL, which returns fine as: [ { "group":"For Sale", "code":"SSSS" }, { "group":"…

ios objective-c nsarray nsdictionary sbjson
NSDictionary with ordered keys

I have an NSDictionary (stored in a plist) that I'm basically using as an associative array (strings as keys and …

ios objective-c cocoa nsdictionary