Can anyone help me add children to a plist?
I think I want to record an index of rows from the plist and then state which index row to write the key too.
I'm not sure how to say if the key will be a string, dictionary or array.
The following is code from another question on adding a key to root.
NSString *path = @"path/to/some/file"...
My basic problem is I'm trying to populate a table view with selected entities from my plist using a 'category'. What would be the best approach to accomplish this? Would Core Data be a much friendlier data source? I'd rather not use Core Data, but I need something that works. Any suggestions would be greatly apprec!
Basically, my p...
I am importing a large plist/XML into Core Data. The structure is simple: let's say there is Person and Company, and a Company can have many Persons. The import goes successfully, but the plist has no established relations, so duplicates of Company are inserted every time multiple people have the same Company.
A potential solution lies ...
I have a plist. It has several dozen keys, each with NSMutableArray items:
...
<key>KeyName1</key>
<array>
<string>String1</string>
<string>String2</string>
<string>String3</string>
</array>
<key>KeyName2</key>
<array>
<string>String1</string>
<string>String2</string>
<string>String3</string>
</array>
...
I ha...
I duplicated default build target.
Some code files are duplicated also.
Problem is, duplicated info.plist file is not formatted by Xcode.
I don't think this is normal. Any workaround?
Or any way to specify formatting of plist? (which may format other type of .plist by my custom formatting rules)
...
Are there any info.plist xml keys used in an iphone app that will show up in iTunes 'Get Info' ?
...
My app is accessing data from a remote XML file. I have no issues receiving and parsing the data. However, I'd like to take the most current XML data and store it locally so - in the event that the user's internet service isn't available - the local data from the previous load is used.
Is there a simple way to do this? Or am I going to ...
this question is regarding xcode objective c and iphone development:
So i want to store an array in a new plist file and I know how to retrieve the file path and write the data into the file (at least i think i do) and all that jazz once the plist is created, but how do I actually create the plist file the first time the app is run or t...
I am trying to use data from my plist in my table view and subview. the table view works fine and everything loads. But I cant get the data into the subview.
My app is based around apples advance table cell download
My RootViewControllerPoints.m
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)secti...
Hello ! Every one here.
I am facing a problem in accessing Settings.bundle.
Let me explain what exactly I am doing.
Any kind of new Project Template from File ( Under iPhone OS ) - preferable View based.
Now Right click on your project / Resources group.
Select Add / New File
Under iPhone Os - resource - Settings Bundle.
Name it as ...
I added an Icon.png to my Groups and Files in Xcode for my project. I specified in the .plist file to use Icon.png. I checked the root folder and it successfully copied Icon.png. But when I run the simulator the icon on the home screen is still gray?
Also note, when I first added the icon it worked! Then I changed the Bundle Name, Bundl...
Im having major problems with Detail views and was hoping someone could point me in the right direction.
I would like to add a detail view to an app like apples advancetableviewcells. So once you click on a cell, it leads you to the detail view.
Only catch is, it has to load the data from the cell into the detail view also.
I've look...
Im trying to get my data to load in my detail view. Can any one take a look and see why it isnt showing? It loads fine in my rootviewcontroller, just not the detail view.
DetailViewController.m
#import "DetailViewController.h"
@implementation DetailViewController
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarni...
I'm would like to modify a subkey in a plist file (i.e. "TB Item Identifiers"):
NSNavPanelExpandedStateForSaveMode = 1;
NSPreferencesContentSize = "{508, 413}";
NSPreferencesSelectedIndex = 6;
"NSToolbar Configuration BrowserWindowToolbarIdentifier" = {
"TB Display Mode" = 2;
"TB Icon Size Mode" = 1;
"TB Is Shown" = 1;
...
Hello,
I have successfully created an app that reads from a bundled .plist file and displays the contents in a UITableView. I would like to move that plist to an external site, as it is updated frequently. even better, I would love to have it generated with PHP. I have got the server side working, but the Objective C is giving me a head...
I have an XML documment that I want to load for the iPhone, do I need to convert it to a plist first ? if so how ?
The xml document has the following code ( for 1 chapter)
<toolTipsBook>
− <chapter index="1" name="Chapter Name">
<line index="1" text="line text here"/>
<line index="2" text=" line text here "/>
<line index="3" text=" li...
What resources are great to provide information on using SQLite for beginner iPhone developers?
Where to download the SQLite software for the iPhone?
Are there multiple versions, and do they have substantial differences?
Where can I find some introductory tutorials?
I'm working on an iPhone project where the instructions are to stor...
How can I escape a string containing random characters with php for a plist file? htmlentities() seems doesn't seem to be strict enough. For example:
<?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">
<string><?php echo...
Basicly iv built my app using a plist. But with the data there is a few times when I need to press return and start a new line. The return key doesn't work in the plist. If I did it the older way it would be \n\n but that doesn't work either.
Is there a obvious way I'm overlooking? Or will it be a case off just pressing the space bar al...
I have one dictionary I need to save into a plist. The paletteDictionary always returns nil:
- (void)saveUserPalette:(id) sender
{
[paletteDictionary setObject:matchedPaletteColor1Array forKey:@"1"];
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirector...