I have a Groovy application for Windows and am trying to convert a Hash object to an Apple plist file. What is the best way to go about this? Seems like this is something that must already be solved in Java but I can't seem to find any examples.
Thanks in advance
...
I am new to iphone development.I have created plist such as from my previous post. It works well in simulator but not in device.Please help me out.Thanks.
EDIT:i am getting the saved value from the plist and checking for the condition.When i use simulator it works but not in device.
...
I have a UIDatePicker that shows (ex. April | 13 | 2010). I need to get each component value and set it as an integer so it can be put into three separate keys in a Plist.
MyMonth Number 04
MyDay Number 13
MyYear Number 2010
I can set a text label by using:
NSDateFormatter *df = [[NSDateFormatter alloc] init];
df.dateStyle =...
I'm reading in a plist from a web server, generated with some php. When I read that into an NSArray in my iphone app, and then spit the NSArray out with NSLog to check it out, I see that the float values are treated as strings. I would like the "distance" values to be treated as numeric and not strings. This plist is displayed in a ta...
I have defined my own environment variable (VERSION) in a .xcconfig file and based my configurations on that as described at http://www.silverchairsolutions.com/blog/2008/03/automating-cocoa-deployments-with-sparkle-and-xcode. My environment variable is indeed expanded in Info.plist but not in my Settings.bundle/Root.plist. PRODUCT_NAME ...
We may not have the option to migrate over to Silverlight 4 right away, so I was wondering if anyone found a way to remove the source domain name from the window's title for out-of-browser Silverlight 3 applications. Our window title currently looks like this: "My App - localhost."
Under Mac, I found the Info.plist file in the applicat...
Hello, I'm a young Italian developer for the iPhone. I have a plist file (named "Frase") with this structure:
Root Array
- Item 0 Dictionary
Frase String
Preferito Bool
- Item 1 Dictionary
Frase String
Preferito Bool
- Item 2 Dictionary
Frase String
...
Hi
I made a plist that looks like that:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList 1.0.dtd">
<plist version="1.0">
<array>
<array>
<dict>
<key>Company</key>
<string>xxx</string>
<key>Title</key>
<string>VP Marketi...
i have a plist that's at its root an array with dictonaries inside it.
i load a plist from my recourses as an NSMutableArray.
[NSMutableArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"Filters" ofType:@"plist"]]
i store it into nsuserdefault because it has to be persistent between startups.
[[NSUserDefaults sta...
To execute my application in iPhone first of all I have to add provisioning profile in to my iPhone. Good. But I don't understand the reason behind adding a entitlements.plist in iphone application in xCode under resources.
What does that entitlements.plist file do actually ?
Why that .plist file have only single Boolean in it ? (get-t...
Hey.
I am using a UItableView to show a list of stuff. When the user clicks on the accessory, it writes the location of the cell to a plist. Then it sends the [UITableView reloadData]-selector to the tableView.
How can I set a different indexPath to a UITableViewCell inside the tableView: cellForRowAtIndexPath: method?
Thank you.
...
I am getting comfortable with using plists for initializing my app. I now want to save app state back to the plist used to initialize the app and I find myself stuck. At application startup I ingest the plist into an NSDictionary which is immutable. I now want to update the NSDictionary by replacing old values with new values for existin...
I have some launchd plists that are now placed at the administrator per-user level, particularly inside:
- /Library/LaunchAgents OR
- /Library/LaunchDaemons
I'd like to avoid that some of those services could start only for one user (possibly avoiding to move all the plists to ~/Library/LaunchAgents), which is the simplest way?
Thanks ...
Hi,
I would like to know which type of persistent store would be most appropriate in what situations, like how can I decide where to use core data, property list or archives for my iPhone application.
Thanks
...
I have an app and it stores data to a .plist file in the resources group in Xcode (if that matters). And whenever I run it on the simulator it works perfectly with the file. On the iPhone, however, it doesn't seem to be interacting with the file.
Thanks in advance!
...
i need to get some data somewhere to put in a timeline. the data strcture is like this:
- Item
- Name
- Year
- ShortInfo (mainly keywords and short texts)
- LongInfo (much text with videos/audios (urls)
a friend of mine told me i should you a plist and get all that stuff in there, but what about a sqlite database? any advice?
...
Hi,
I have a plist with key values.
Each key represent a language, let's say 'it' 'en' ....ecc
The value of each key is another key/value(=array) set. At startup I would like to create a dictionary by reading only a specific key. Let's say the locale of my iphone is 'it', then the init method would only parse it key, because the only w...
Hi all ! I have plist in my App what i liked to do is to download plist from a folder on my website using http://anadress and then replace the plist in the main bundle by the new one i've download. And i have no idea on how to do this.
If someone could help.
thanks
...
Hi Guys,
how to store values inside Plist and read while runtime in iphone 3.0?.
Thanks in Advance.
...
edited.
Hey, I am trying to write an NSMutableArray to a plist.
The compiler does not show any errors, but it does not write to the plist anyway.
I have tried this on a real device too, not just the Simulator.
Basically, what this code does, is that when you click the accessoryView of a UITableViewCell, it gets the indexPath pressed, e...