Top "Nsdictionary" questions

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

Appending NSDictionary to other NSDictionary

I have one NSDictionary and it loads up UITableView. If a user scrolls more and more, I call API and …

objective-c ios uitableview nsdictionary
NSDictionary With Integer Values

I'm working on a game with monsters. Each one has a list of stats that are all going to be …

objective-c int nsdictionary
How can I get the first element in an NSDictionary?

I have an array of NSDictionaries. How can I pull out the first element in the dictionary? NSArray *messages = [[results …

iphone objective-c cocoa cocoa-touch nsdictionary
Sorting NSArray of dictionaries by value of a key in the dictionaries

I have an array populated by dictionaries, and I need to sort the array alphabetically by the values of one …

ios objective-c sorting nsarray nsdictionary
Best way to sort an NSArray of NSDictionary objects?

I'm struggling with trying to sort an array of dictionaries. My dictionaries have a couple of values of interest, price, …

ios objective-c sorting nsarray nsdictionary
How to pass a NSDictionary with postNotificationName:object:

I am trying to pass an NSDictionary form a UIView to a UIViewController using NSNotificationCenter. The dictionary works fine at …

iphone xcode nsdictionary nsnotificationcenter
Converting NSObject to NSDictionary

Hello I a class of type NSObject: ProductDetails *details = [[ProductDetails alloc] init]; details.name = @"Soap1"; details.color = @"Red"; details.quantity = 4; …

objective-c ios6 nsdictionary nsjsonserialization
How to create an NSDictionary in Objective-C?

I want to create an NSDictionary like this type: "zones": { { "zoneId": "1", "locations": { { "locId": "1", "locZoneId": "1", "locLatitude": "33.68506785633641", "locLongitude": "72.97488212585449" }, { "locId": “2”, "locZoneId": "1", "locLatitude": "33.68506785633641", "locLongitude": "72.97488212585449" }, { "…

ios objective-c nsdictionary nsmutabledictionary
Beautify NSLog of NSArray & NSDictionary

I'm dealing with deeply nested NSArray's and NSDictionary's and it's very time consuming to say the least. [data objectatindex:0] valueForKey:@"…

ios nsarray nsdictionary
Swift - How to loop through NSDictionary

Hi I'm currently learning Swift, and I wanted to extract data from a JSON Api, My Swift code looks like …

ios json swift nsdictionary