Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Community Center > iPhone SDK Development Jobs

Reply
 
LinkBack Thread Tools Display Modes
Old 02-03-2010, 02:45 PM   #1 (permalink)
Registered Member
 
Join Date: Apr 2009
Posts: 11
Default Need a tutorial for working with property lists (plist)

We need a tutorial, aimed for iPhone developers, that will explain how to work with plists in the application.

It should cover:
1) What plists are normally used for.
2) How to generate them to include texts, images, HTML and other resources.
3) How to include different plists per language, so that the correct one is chosen.

You can get back to me here about technical details. Quotes, please send me privately to our contact page.
amir.helzer is offline   Reply With Quote
Old 03-03-2010, 02:06 PM   #2 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 84
Default Not sure

myPrimaryinfo = [[NSMutableArray arrayWithCapacity:6]retain];

NSArray *keys = [NSArray arrayWithObjects:@"Date","Time","Address","City"," State","Zipcode",nil];

[myPrimaryinfo addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:
[NSString stringWithFormat:@"%@",txtDate.text],

[NSString stringWithFormat:@"%@",txtTime.text],

[NSString stringWithFormat:@"%@",txtAddress.text],

[NSString stringWithFormat:@"%@",txtCity.text],

[NSString stringWithFormat:@"%@",txtState.text],

[NSString stringWithFormat:@"%@",txtZip.text],nil]forKeys:keys]];


NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDire ctory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *path = [documentsDirectory stringByAppendingPathComponent:@"myPrimaryinfo.pli st"];
[myPrimaryinfo writeToFileath atomically:YES];
NSLog(@"PrimaryInfo array: %@", myPrimaryinfo);


Quote:
Originally Posted by amir.helzer View Post
We need a tutorial, aimed for iPhone developers, that will explain how to work with plists in the application.

It should cover:
1) What plists are normally used for.
2) How to generate them to include texts, images, HTML and other resources.
3) How to include different plists per language, so that the correct one is chosen.

You can get back to me here about technical details. Quotes, please send me privately to our contact page.
vikinara is offline   Reply With Quote
Reply

Bookmarks

Tags
guide, plist, tutorial

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 243
13 members and 230 guests
ADY, AragornSG, CKAmike, Dani77, Duncan C, HDshot, HemiMG, Promo Dispenser, Punkjumper, Rudy, sacha1996, sneaky, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,231
Posts: 380,768
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:19 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0