plist

iPhone App : Storing / Saving personal preferences once per App

Hi, I want to store / save personal preference settings like Email, Phone number for an App. I have few forms which send info by Email to my ID. I want to know the Email & Phone number of user so I can contact this person if need be. I don't want users to keep entering their Email ID & Phone No. everytime in each form. It's wise to take...

Download file from server plist

Hi all what i want to do is to download plist from server http:// and i'd like to know how and where it is stored. Can the iphone compare date from 2 plist files ? ? thanks to all, if you do not want to post code or explain please link it. !Because i'm really stuck and need help thanks ...

newbie need help ! !

ok guys so i'm new in iphone dev you know it ! I want to add badge from my app : i know how to in the application did finish launching. But i want to it depending on an int value i have stored in a plist (just one string an int value) i have placed on my server htt://anadress/myplist.plist How can i read the content of this value in...

Compare then download

Hi all ! I have a plist in my document folder of the app with one string, an int value. An another plist is on my server with also a string, an int value. How can i compare the two int value and then do something if one is bigger than the other thanks to all ...

iPhone, trying to post a plist (NSDictionary) to a web service

Is there a simple way to package a plist object (NSDictionary, NSArray, etc.) and Post it to a web service? ...

Using plist to populate a grouped table

Hi there, I was wanting to use a plist to populate my grouped table. I've had a look at the DrillDownSave sample project, and I'm still none-the-wiser. Although, I did learn that I could store hierarchies and suchlike in there. So here's the questions: How can I use my plist to add new items to my grouped table? I'm currently feeding...

replace content of a plist iphone

hi all ! Newbie need help !!! I have a plist made of string, what i'd like to do is to replace the content if this plist by the content of an another array is it possible ????  thanks to all !  ...

How can I get a Node adjacent to a unique Node using Scala?

I'm trying to parse an Apple plist file and I need to get an array Node within it. Unfortunately its only unique identifier is sibling Node right before it, <key>ProvisionedDevices</key>. Right now my best thoughts are to use Java's XPATH querying or Node.indexOf. Here is an example: <plist version="1.0"> <dict> <...

NSString to NSURL objects

Hello, I have an array that I populated with my plist file, which looks something like this: <array> <string>http://www.apple.com&lt;/string&gt; <string>http://www.google.com&lt;/string&gt; <string>http://www.amazon.com&lt;/string&gt; </array> So, I'm looking to convert these NSString objects to NSURL objects when I call them...

Is there any easy way to replace one data in plist?

Here is how I can get the value: NSString *path = [[NSBundle mainBundle] pathForResource:@"myPlist" ofType:@"plist"]; NSDictionary *dict = [[NSDictionary alloc] initWithContentsOfFile:path]; NSArray *tempArray = [dict valueForKey:@"2"]; NSString *myTarget = [tempArray objectAtIndex:0]; the "myTarget" is something I want to replace wi...

Problem with reading data from plist iphone sdk

Hi all, I'm creating a myDb.plist file in my resources folder and trying to read it, but it's not getting read. I'm using the following code. NSString* plistPath = [[NSBundle mainBundle] pathForResource:@"myDb" ofType:@"plist"]; contentArray = [NSArray arrayWithContentsOfFile:plistPath]; contentArray is showing null. Can anybo...

Problem with fetching dictionary objects in array from plist iphone sdk

Hi all, What is the datatype you use to fetch items whose type is dictionary in plist i.e. nsmutabledictionary or nsdictionary? Because I'm using following code to retrieve dictionary objects from an array of dictionaries in plist. NSMutableDictionary *_myDict = [contentArray objectAtIndex:0]; //APP CRASHES HERE NSLog(@"MYDICT ...

Can I refer to NSDictionary items numerically?

I'm trying to set up a UITableView which acts as a form. Each cell has within it a UILabel and a UITextField, so one cell is: Name <enter name> ^ ^ UILabel UITextField Now, I'm trying to populate the UILabel and the UITextField from a NSDictionary (from a plist), where it's organized like so: Root ...

best way to store list of websites on iphone app

By best I mean most efficient. So don't go on about subjectiveness. I have a list of websites and I want to store the list on the iphone locally, there must be an URL, title and a small image (like 32x32 max image size). I don't think I should be using CoreData for this. Should I be using a plist? EDIT: Efficient's definiton i though w...

In-app settings controlled by plist?

Is there a library or good tutorial which covers creating in-app settings, like this: http://img.skitch.com/20090625-s8bf6ahybwe3cesd1id38h3nt.jpg What I would like is if it: doesn't use the built-in Settings app, and does not replicate it's settings in the Settings app is controlled by a plist file with various Dictionaries and Array...

How to manage memory load of static, lazily loaded dictionaries and arrays.

Generally, I use static arrays and dictionaries for containing lookup tables in my classes. However, with the number of classes creeping quickly into the hundreds, I'm hesitant to continue using this pattern. Even if these static collections are initialized lazily, I've essentially got a bounded memory leak going on as someone uses my ...

Stuck in itunesconnect submission version number limbo...

I did a very very stupid thing. I was uploading an update to my app on itunesconnect, but typed in the wrong version number. The version number I typed (1.02) was smaller than the one that's already up there (1.1). Apple accepted the submission, and planned to upload binary later. Went to upload the binary (also 1.02), but only AFTER...

Convert XML to .plist

Hey, I have an XML exported from Oracle DB, which will be downloaded into my application main bundle. i would like to convert this XML file into .plist file so i can assign the values into NSDictionary and NSArrays.. Is there a way to get this to work? or is there a better way to work with an external XML file? note that one of the f...

Quick and dirty way to store NSStrings (or other data) from launch to launch?

I want to allow my user to store custom phrases, to be displayed in an editable UITableView. What's a quick and dirty to store these strings? I'm fairly new at iPhone development. I know about Core Data, but not how to use it. i would stay away form that just for this particular project if possible. Are PLIST files a possibility here?...

nested NSDictionary from plist

Hello, I have a plist, with main NSDictionary, in which its keys are dates. For every date, I have a NSDictionary in which the keys are (let's say) categories. Every Category holds Keys and values. I would like to create 2 variables that each will hold the correct NSDictionary: NSDictionary *dates = ? NSDictionary *Categories = ? Be...