Top "Nsdictionary" questions

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

How can I get all values for specific key from each NSDictionary in an NSArray?

I have an array which contains dictionary objects. In each dictionary the key are common. Now I want to get …

objective-c nsarray nsdictionary key-value-coding
Check if NSDictionary is empty

I want to check if an NSDictionary is empty. I am doing it like this. mutDictValues = [[[NSUserDefaults standardUserDefaults] objectForKey:@"dicValues"]…

iphone ios objective-c nsmutablearray nsdictionary
Does NSDictionary initWithObjectsAndKeys handles NULL/nil objects and other than NSString objects

I am trying to initialize NSDictionary but it gives me following error: Program received signal: “EXC_BAD_ACCESS”. Here is …

objective-c nsdictionary
Convert NSDictionary to Swift Dictionary

Now I know that when swift compiles it just makes a NSDictionary, but the NSDictionary and Swift dictionaries have different …

dictionary swift nsdictionary nsmutabledictionary
Reading plist file

I created plist with big base of different animals in it (keys) and added this plist in my project. Type …

objective-c nsarray plist nsdictionary
sort NSDictionary values by key alphabetical order

I can get an array of dictionary keys sorted by values, but how to I get an array of values …

objective-c swift nsdictionary
How to sort an array of dates in descending order

I have a NSDictionary that parsed to an array one of the element is date, i tried using [startimeArray sortUsingSelector:@…

ios objective-c uitableview nsdate nsdictionary
Swift: How to remove a null value from Dictionary?

I'm new in Swift and I have a problem with filtering NULL values from JSON file and setting it into …

ios json swift null nsdictionary
How to correctly convert an NSDictionary to a json format , in iOS?

I am trying to send to my server a json file. The json format should look exactly like this: { "eventData": { "…

ios json format nsdictionary
Getting NSDictionary key by index?

Is it possible to get a dictionary key by index? I'm trying to use a dictionary for the datasource of …

ios objective-c ios7 nsdictionary uipickerview