plist

Text Processing with Program Instead of Perl

I have a .plist file that looks like this: <plist version="1.0"> <array> <dict> <key>name</key> <string>Alabama</string> <key>abreviation</key> <string>AL</string> <key>date</key> <string>1819</string> <key>population</key> <string>4,627,851</string> <key>capital</key> <string>Montgomery</string> ...

How to create xml plist for Xcode from Excel spreadsheet

I have a spreadsheet, the contents of which I would like to include as an xml plist in my Xcode project. However, I can't figure out how to actually perform the export from Excel and the import into Xcode. Any help would be greatly appreciated please. ...

Mac OSX System menu name w/Java?

Hello all! I have a slight problem. Having recently migrated on Mac, I've been pulling my hair and searching the web about this but have not found what I was exactly searching for. I want to set the application name in the system menu, which doesn't work at the moment (my main class name is displayed instead of my app name). What propert...

Accessing Plist items in a dict

I have a class in a module I that reads a plist (XML) file and returns a dict. This is extremely convenient because I can say something like: Data.ServerNow.Property().DefaultChart This returns a property dictionary, specifically the value for DefaultChart. Very elegant. However, assembling a dictionary this way fails: dict={'Data': ...

iphone: Can I save user input to a plist that lives in the resources folder?

Hi, I have a plist in my Resources folder that I'm using to store conversion information. I'd like to give the user the ability to "turn off" certain units so that those units will never be used in conversions. I don't want to have to maintain two lists with the conversion information in it. I am able to save data back to that pli...

Securing xml plists in Cocoa / Objective C

I am writing an application which reads information from am xml plist in the bundle upon startup. The information in the plist has been compiled through many days of work and I would like to ensure that it cannot be extracted easily from the app bundle by another party after distribution. Is there any way to secure or encrypt xml plists...

Trouble Configuring a .plist for an iPhone App

I am new to iphone development and I could use a little help in setting up my .plist file. I seem to be confused as to how to actually set it up. I have an app that will have a Frequently Asked Question (FAQ) page or view. As of right now, I am putting the questions in a property List file (.plist) configured like this: http://img16.yfr...

Is there any online .plist editor?

I'm interested in an online application like the tool that comes with XCode, that shows the keys and values as rows, in an editable manner and handles xml plists (I don't care if it handles binary ones as well). ...

iphone - want to store data in plist.

HI, i want to store some data in plist file. my question is if i change data in plist file do i have to recompile my application ?? ...

? login p list for mac os x

what is a login window plist ...

Convert excel document (xls) to a plist

I have a pretty straightforward excel document in which I need to use the data in an iPhone app. The xls document has 6 columns, 200 plus rows. I would like to create a plist from the xls document and other than manual copy/paste, is there a means to convert one to the other? Anyone written a macro on the excel side or a utility (per...

Display Rich Text Using a UIWebView

My questions is what is the best way to create a Frequently Asked Question tab (section) of my App. I'm using a table view where the data is pulled from a .plist file. The table view has a three level drill down to a detail view where I want the actual answer from a FAQ. Now this is no problem using UITextView. However I need to enable v...

Trouble loading html file from plist to webView on iPhone

trouble loading html file from plist to webView using following code in FAQDetailViewController.m: - (void)viewDidLoad { [super viewDidLoad]; NSString *Path = [[NSBundle mainBundle] bundlePath]; NSString *WebPath = [Path stringByAppendingPathComponent:WebFile]; UIWebView *tempWeb = [[UIWebView alloc] initWithContents...

Comparing Touch Coordinates.

Is it possible to compare touch coordinates made by the users on the UIView to the one store in a plist or txt format? The argument looks like this; if (user touch coordinate == touch coordinate stored in plist or text) then (do something) else (do something) If possible in what format should i write the coordinates in t...

iPhone SDK - How to read on text files.

I want to store some coordinates on a text files that correspond to an image array i will call out on my apps. Is it possible to write it in a notepad and save it as a .txt and be able to read in xcode the coordinates written inside or do i have to use plist format for that? thank you. ...

How do I append a new item to a plist?

In my iPhone app, I have two plist files to store "Themes". One is a read-only file containing default themes, and one contains custom Themes that the user has created. I'm using plist files because it's very easy for me to read from the plist and create new Theme objects. My plist is an array of dictionary objects. Is there any easy w...

A question on how to Get data from plist & how should it be layout.

This is a follow up question on my first queries regarding retrieving data on plist. Right now i have manage to detect users touches made on my view with random image call out (thanks to phytonquick). CGPoint currentTouchLocation = [currentTouch locationInView:self]; Im having trouble now on how to compare the value i got from the use...

Updating & changing settings plist files with new versions of an app

Hi there, I've got a default settings plist file in the resources folder of my app, and on the first launch that gets copied to the documents folder. In successive versions of the app, how can I merge the plist settings in their documents with any new keys & values (possibly nested) that have been added since the previous version? I'v...

Having Trouble with Mutable Array to load sections in a Table View from Plist

Plist loaded in AppDelegate with following structure: Root ----> Dictionary Test Item ----> Array Item 1 ----> Dictionary HeaderTitle ----> String ----> Section 1 Items ----> Array Item 1 ----> Dictionary FirstName ----> String ----> Any Name SecondName ----> String ----> Another Name CellIcon ----> String ----> Icon.gif View -...

Is there a better way to serialize plist-y objects in Objective-C?

I like the plist serialization capability for small collections of objects: it is simple, the storage is XML, etc. But I find setting values in dictionaries cumbersome: [myDict setObject:keepThis forKey:@"ivar"]; I'd much prefer to use object derived of classes (or even just structs): myObj.ivar = keepThis ... and then send a messa...