Top "Nsdictionary" questions

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

Saving enum values into a dictionary

How does one save an enum value to a dictionary? When I try the following enum someEnum { field0 = 0, field1 = 1, field2 = 2, }; …

iphone objective-c ios nsdictionary
Inserting nil objects into an NSDictionary

If we have an API that requires only 2 out of an objects 5 properties and iPhone app doesn't require them to …

objective-c nsdictionary
Replace all NSNull objects in an NSDictionary

I'm curious, I currently have an NSDictionary where some values are set to an NSNull object thanks to the help …

objective-c nsstring nsdictionary json-framework nsnull
Filtering NSArray of NSDictionary objects using NSPredicate

I have an NSArray of NSDictionary objects. I want to filter the array based on keys of the dictionaries using …

iphone ios nsarray nsdictionary nspredicate
Swift Plist Reading and Initializing Arrays as Objects for Key

I'm developing a small UITableView-based app in Swift. I started out hard-coding some basic arrays as such (included is the …

ios uitableview nsdictionary plist swift
How do I create dummy JSON data on the client in objective C / iOS?

I want to set up static dummy data, in JSON, for my app to process. This is purely client-side; I …

ios objective-c json nsdictionary foundation
What is difference between NSDictionary vs Dictionary in Swift?

I'm learning Swift, and I can see Dictionary in it. But there are lots of examples that are using NSDictionary …

arrays dictionary swift nsdictionary
How to remove a null value from NSDictionary

I have a JSON Feed: { "count1" = 2; "count2" = 2; idval = 40; level = "<null>"; "logo_url" = "/assets/logos/default_logo_medium.png"; …

ios objective-c swift dictionary nsdictionary
NSDictionary and Core Data

Please I am trying to gain some knowledge in core data. I have so far gotten the hang of creating …

ios core-data nsdictionary iphonecoredatarecipes