Questions for nsdictionary


373

Sharing immutable NSStrings

I have a list of about 10k dictionaries, each dictionary contains about 50 keys. Keys are more or less the same for all dictionaries.
7977

Filter and NSDictionary of NSArray of NSDictionary's

I have an NSDictionary which contains some 150 keys of boiler manufacturers. The value for each key is an NSArray of an NSDictionary. Each NSDictionary represents a boiler with some properties:
6970

NSDictionary with NSDates as keys

Is it possible to have an NSdictionary where the keys are NSDates and also have it writeable/archiveable to disk?
4935

Why can't I write Dictionary to plist?

Hey All,I got a weird problem here
6102

Edit plist in objective c

I have a plist file and i want edit this file, but setObject() in NSDictionary dont operate, my code is:
2938

Persisting a datasource between multiple views without shared root view controller

I'm currently working on an app that uses a UINavigationController inside UITabBars. The tab bars correspond to both UITableViews as well as a Map View. However, the root view controller of the a...
8609

key values from an NSDictionary formatting with “()”

I'm trying to pull two values from this Dictionary, But the values I'm getting have "()" around them. Any Ideas what is causing this?
4472

Copying an NSDictionary without empty values?

I'm trying to create an NSDictionary with the dictionaryWithDictionary method. However, my first NSDictionary A may have some keys with empty values. How can I create B that doesn't have any keys...
6444

Search NSArray of NSDictionaries

I have an array with dictionaries,
7516

Fill NSDictionary with JSON

Iam new in iOS development .
9738

can't fetch object from nsdictionary…?

I've done this thing lots and lots of time. But I don't know why I can't figure out what is the issue with this object when I try to fetch it from NSDictionary.
9052

Directly accessing nested dictionary values in Objective-C

Is there a way to directly access an inner-array of an an outer array in Objective-C? For example, a call to an external data source returns the following object:
6972

NSDictionary objectForKey/valueForKey already formated?

Okay, I urgently need your help here.
9295

Store App names in NSArray from JSON DATA which Stored in NSDictionary

I have retrive following response form Server in JSON format which I have sucessfully store in NSDictionary.
512

Convert NSString to NSDictionary separated by specific character

I need to convert this "5?8?519223cef9cee4df999436c5e8f3e96a?EVAL_TIME?60?2013-03-21" string into dictionary. Separated by "?"
8057

How to access contents of NSDictionary from JSON data request

I'm trying to access the contents of a dictionary using the following code and can't get it to work for some reason.
5590

How can I execute blocks stored in an NSDictionary?

I am somewhat new to blocks and need some help. I want to store a block in an NSDictionary and execute said block when it is accessed based off its key. Here is what I have so far as an example.
1281
3619

Find sub key in NSDictionary

I have a large NSDictionary. Fx.
3454

Sorting NSDates

i have several dictionaries in my program,i have put all those dictionaries in an array i want to sort those dates accordingly dictionary should exchange its position,below shown is the code i am
7697

Create multiple CGPath in a loop

I am creating a program containing a map, in order to check in which region a mouseDown is occurring I want to create a CGPath per region. For the moment I create this part :
4347

my xmlDictionary its allway (null)

im trying to get the same value on xmlDictionary and dicionarioXML but, my dicionarioXML its allway (null), any help?
7543

iOS - NSDictionary - Reading plist file

I've a plist file which has a menu to be shown (related to a restaurant)
205

Showing method “parameter names” in objective-c

How can I get the parameter names to show up when making a method in objective-c?
5786

Dealing with JSON in IOS

im really new to IOS development. i am developing an application which is getting data from a web service. i am using a method which will call the service and get the response. actually im getting my
8401

get const char from nsdictionary

I am trying to read const char * from an nsdictionary
8915

how can i create plist like below in image?

Iam trying to create a plist with following feature.
5057

Can't get head around parsing nested JSON

I am having a hard time trying to get my head around this here:
6743

Displaying multiple objects with same keys in Table View

I currently have a dictionary property `scoreDictionary constructed so that it contains values that are themselves a nested dictionary:
7600

Given a dictionary of numbers, determine which sets contain unique values (i.e. numbers that do not belong to any of the other sets)

Looking for the most efficient way to solve this using Objective-C (and Swift as a second preference).
5416

NSArray or NSDictionary from plist file

In a method I need to read a NSArray or NSDictionary from a plist file.
678

Why should I not be using ?

I recently started using Faux Pas (http://fauxpasapp.com/), and for my project I get the following warning a number of times:
9682

App crashes when setting objects to NSMutableDictionary with no crash log

I try to make a simple score system for my game and I'm using dictionary and save it using NSUserDefaults to store player's scores. However when I try to set new score to existing key/value the app
9621

Arrays within arrays in a plist

I am really struggling on this one; I have read many different posts and the apple literature but to no avail. I have the following plist in my app:
7557

How to load an NSDictionary from a file created with writeToFile?

I have an NSMutableDictionary, and I wrote it using

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.