I have a MySQL database of newspaper articles. There's a volume table, an issue table, and an article table. I have a PHP file that generates a property list that is then pulled in and read by an iPhone app. The plist holds each article as a dictionary inside each issue, and each issue as a dictionary inside each volume. The plist doesn'...
Hi, I want to read/write to cache.plist
If I want to read an existing premade plist file stored in the resources folder I can go:
path = [[NSBundle mainBundle] bundlePath];
NSString *finalPath = [path stringByAppendingPathWithComponent@"cache.plist"];
NSMutableDictionary *root = ...
But then I wish to read it from the iPhone.
Can't,...
Is there a way to get the standard error/output path from within the process?
I tried NSTask's standardError but it returns NSFileHandle, and I need the path as string.
Thank you!
p.s. StandardErrorPath is set in a .plist used by launchd to start the process on system start. The process is a bundle, written in objective c.
...
If I've got a plist set up like this
Key Type Value
Root Array
Item 0 Dictionary
-Title String Part One
-Description String Welcome to part one. Have fun
Item 1 Dictionary
-Title String Part Two
-Description String Welcome to part two. Fun too.
Item 2 ...
Hi All,
I'm currently working on an application that users a number of different views to obtain user information and I have just hit a snag.
My current method saves each user detail against a key value in a plist file, the problem is that when the user switches to another view and saves their data again, the old keys and data are overw...
Here is an example bit from the xml file:
<array>
<dict>
<key>Name</key>
<string>Joe Smith</string>
<key>Type</key>
<string>Profile</string>
<key>Role</key>
<string>User</string>
<key>Some Number</key>
<integer>1</integer>
<key>Some Boolean</key>
<true/>...
Hi,
I'm learning cocoa/objective-c. Right now I'm dealing with key/value coding. After reading Aaron's book and other sources, I thought that I was able to left the simple examples and try a complex one...
I'm trying read iTunes property list (iTunes Music Library.xml). I would like to retrieve the tracks held by an specific playlist.
...
Hi, guys.
Could you, please, help me with parsing of this XML code:
<?xml version="1.0" encoding="utf-8"?>
<stuff>
<parts>
<part id='327'>
<name>Logitech MX500</name>
<serial>618163558491989</serial>
<account>ASDALSKD</account>
<number>987 789 456</number>
<alarm>alarm...
I have an application and I will sometimes just change the plist, say to change the version number. Sometimes I'll actually make a change to the code, AND the version number....in the latter case, SOMETIMES the version number of the resulting app will change, in the former it will never change. The only way I've found that surely does it...
G'day All
If you create a date item in the plist editor of Xcode or Apple's standalone plist editor you get something of the form <date>2010-05-29T10:30:00Z</date> which is a nice well formed ISO date at UTC (indicated by the "Z"). Because I'm in timezone UTC +10 when that's read into my app & then displayed I get 8:30 PM out, still goo...
I have some data i want to add in to my app...about 650 categories (includes a name + id number), each with an average of 85 items (each with a name/id number).
Will the iPhone support such a large plist? I want to first display the categories in a UITableView, when a category is selected I want to display all of the associated items. H...
Hi. I have an app that reads in a plist file from the resources folder. I have looked for about 5 hours for a solution to hosting my plist file on my freewebs acount and have the application update the plist file on launch. Can anyone help me please.
I will post my code if you ask. I am just not sure what you need to see now.
...
Hello,
I'm building an iPhone app that is essentially a book, it will be bundled with a lot of text-heavy content.
I considered bundling the data as XML and load it when the application starts but the XML would contain a lot of nested structures and be a bit of a pain to parse.
Would it be better to use a plist? I'm concerned about me...
Hi,
I'm developing an app for iPhone but I've a problem...
I've a view with some textField and the informations writed in them are saved in a plist file. With @class and #import declarations I import this view controller in another controller that manage a table view.
The code I've just wrote appear to be right but my table is filled up ...
I am testing an application on a first-generation iPod running OS 3.1.3 with a tableview populated from a plist. The application works well on the simulator. Initially after installation onto the iPod for testing, the tableview was blank (scrollable lines present, but empty rows). After searching this site, I found one issue to be a case...
If I have a plist which is structured like this:
Root Array
Item 0 Dictionary
City String New York
People Array
Item 0 String Steve
Item 1 String Paul
Item 2 String Fabio
Item 3 String David
Item 4 String Penny
...
Hi there,
I'm writing a simple Safari Extension, and I'm trying to figure out how to get the update mechanism working. Apple's documentation here is delightfully vague:
http://developer.apple.com/safari/library/documentation/Tools/Conceptual/SafariExtensionGuide/UpdatingExtensions/UpdatingExtensions.html
And here's my manifest, based...
If I have a plist which I have put into and array, which looks something like this
-Root
-Item 0 Dictionary
Name String Henry
Kids Array
-Item 0 String Lindy
-Item 1 String Paul
-Item 1 Dictionary
Name String Janet
Pets ...
Hi all!
reading the doc from apple I need to create an ad-hoc distribution app, and to do so I need the entitlements.plist.
when i create a new entitlement, the value "get-task-allow" is not present, so I added by hand.. is right??
at the end the Entitlements.plist is this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC ...
The question is does anyone know what the structure of the (type-2) plist files in Cappuccino are?
In Cappuccino there is a lot of use made of plist files.
Some such as info.plist (type-1) follow a recognizable structure. These are fine i can inderstand them.
<plist version="1.0">
<dict>
<key>CPApplicationDelegateClass</key>
<string>D...