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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-10-2010, 03:02 PM   #1 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 53
sajjad111 is on a distinguished road
Default How insert into plist

How insert into plist ?
sajjad111 is offline   Reply With Quote
Old 07-10-2010, 03:26 PM   #2 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Ypsilanti, Michigan
Age: 63
Posts: 1,549
RLScott is on a distinguished road
Default

Quote:
Originally Posted by sajjad111 View Post
How insert into plist ?
Do you mean the info.plist file for your app? Click on the left side of some row after which you want to insert (normally the last row). That will make a "+" sign on the right. Click on that "+" sign and that will add a row. Now click on the left side of that row to change or enter the key. Then enter the data on the right.
RLScott is offline   Reply With Quote
Old 07-10-2010, 03:45 PM   #3 (permalink)
Registered Member
 
finefin's Avatar
 
Join Date: Jun 2009
Posts: 259
finefin is on a distinguished road
Default

Quote:
Originally Posted by sajjad111 View Post
How insert into plist ?
your posts are pure poetry, sajjad!

Please notice that plists are pure XML, so you can edit them (and insert!) with your favourite text editor. You can also use the Property List Editor seperately (open plist in finder) which provides a slightly better usability than the "built-in" xcode editor (big buttons!).
__________________

I help you, you buy my app - you help me, I buy your app

PARALLAX, The Book Of Sayings - chopped up edition! (HD),omicron,
Canupa Band deluxe (universal), Canupa Band FREE!, Your Face --- follow me on twitter
finefin is offline   Reply With Quote
Old 07-10-2010, 09:40 PM   #4 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 53
sajjad111 is on a distinguished road
Default

Quote:
Originally Posted by RLScott View Post
Do you mean the info.plist file for your app? Click on the left side of some row after which you want to insert (normally the last row). That will make a "+" sign on the right. Click on that "+" sign and that will add a row. Now click on the left side of that row to change or enter the key. Then enter the data on the right.
Nooooooo!
my plist file for read and write information
How Insert , delete ,edit from code
sajjad111 is offline   Reply With Quote
Old 07-10-2010, 09:42 PM   #5 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 53
sajjad111 is on a distinguished road
Default

Quote:
Originally Posted by finefin View Post
your posts are pure poetry, sajjad!

Please notice that plists are pure XML, so you can edit them (and insert!) with your favourite text editor. You can also use the Property List Editor seperately (open plist in finder) which provides a slightly better usability than the "built-in" xcode editor (big buttons!).
!!!!!!!!!
I means insert from code
sajjad111 is offline   Reply With Quote
Old 07-11-2010, 04:18 AM   #6 (permalink)
Registered Member
 
finefin's Avatar
 
Join Date: Jun 2009
Posts: 259
finefin is on a distinguished road
Default

Quote:
Originally Posted by sajjad111 View Post
!!!!!!!!!
I means insert from code
Ah! Now we're getting there. What you need is NSUserDefaults!

because the root of your app is read only you would have to access the app's document directory to load, edit and save a plist file.
look HERE (scroll down to plist example)

Maybe you really need that kind of funcionality, I don't know, but I really recommend NSUserDefaults, I find that much easier to handle.
__________________

I help you, you buy my app - you help me, I buy your app

PARALLAX, The Book Of Sayings - chopped up edition! (HD),omicron,
Canupa Band deluxe (universal), Canupa Band FREE!, Your Face --- follow me on twitter
finefin is offline   Reply With Quote
Reply

Bookmarks

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: 326
15 members and 311 guests
akphyo, alexP, cgokey, EXOPTENDAELAX, flamingliquid, guusleijsten, mariano_donati, ohmniac, Paul Slocum, PavelSea, SLIC, Sloshmonster, Sonuye857, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,653
Threads: 94,115
Posts: 402,888
Top Poster: BrianSlick (7,990)
Welcome to our newest member, ohmniac
Powered by vBadvanced CMPS v3.1.0

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