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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-03-2010, 01:06 PM   #2 (permalink)
vikinara
Registered Member
 
Join Date: Mar 2010
Posts: 84
vikinara is on a distinguished road
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
 

» Advertisements
» Online Users: 729
21 members and 708 guests
askb, baja_yu, BrianSlick, dbramhall, FrankWeller, Gaz, gogoman, Kirkout, LiquidFire, mer10, mochibits, MysticLine, SLIC, speed4mee, tassaga, taylor202, w0rldsell3r, wigginsray, Yoonoo, yoshis, zin
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,529
Threads: 94,051
Posts: 402,637
Top Poster: BrianSlick (7,979)
Welcome to our newest member, wigginsray
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:12 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.