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

sdkIQ for iPhone
($4.99)

Your First iPhone App
($1.99)

iPhone Code Generator
($9.99)

Dual Matches
($0.99)

Calcuccino Programmers' Calculator
($2.99)

SDKtoday
(free)

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 03-19-2010, 02:05 PM   #1 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 532
Default Saving content of UITextFields?

I'm working on an app that will require the edited text of a TextField to be saved.

How do I handle this so that the changes are saved when the app is closed?
Noise is offline   Reply With Quote
Old 03-19-2010, 02:18 PM   #2 (permalink)
Almost there
 
Join Date: Dec 2008
Location: Leeds, England
Posts: 1,015
Default

Look at the NSUserDefaults.
harrytheshark is offline   Reply With Quote
Old 03-19-2010, 02:19 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 20
Default

You're going to want to use CoreData to actually save the data.

As for finding out when it's changed, head over to the docs at the apple site. It's right on the documentation page.
frankenspank 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
» Stats
Members: 41,860
Threads: 49,768
Posts: 213,054
Top Poster: BrianSlick (3,138)
Welcome to our newest member, gustavo7sexton
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:58 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0