Your SlideShare is downloading. ×
0
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
HireVietnamese - Lesson 4
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

HireVietnamese - Lesson 4

254

Published on

HireVietnamese iPhone Training …

HireVietnamese iPhone Training
Ebook iPhone Development

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
254
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
40
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. HIREVIETNAMESEiPhone Training Lesson 4
  • 2. HIREVIETNAMESEhttp://www.hirevietnamese.com Contents 1 Storing Data 4 Example 4 5 Exercise 4 2
  • 3. HIREVIETNAMESEhttp://www.hirevietnamese.com Storing Data Setting user Preferences with NSUserDefaults 3
  • 4. HIREVIETNAMESEhttp://www.hirevietnamese.com NSUserDefaults  Get a Handle to the NSUserDefaults object  NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];  Saving  [prefs setObject:ObjectToSave forKey:”KEY”];  Retrieving  NSString *myString = [prefs stringForKey:@“KEY"]; 4
  • 5. HIREVIETNAMESEhttp://www.hirevietnamese.com Storing Data Saving/Retrieving Data from a SQLite Database 5
  • 6. HIREVIETNAMESEhttp://www.hirevietnamese.com Create Database 6
  • 7. HIREVIETNAMESEhttp://www.hirevietnamese.com Check and Create DB 7
  • 8. HIREVIETNAMESEhttp://www.hirevietnamese.com Select Statement 8
  • 9. HIREVIETNAMESEhttp://www.hirevietnamese.com Delete Statement 9
  • 10. HIREVIETNAMESEhttp://www.hirevietnamese.com Add Statement 10
  • 11. HIREVIETNAMESEhttp://www.hirevietnamese.com Update Statement 11
  • 12. HIREVIETNAMESEhttp://www.hirevietnamese.com Example 4 12
  • 13. HIREVIETNAMESEhttp://www.hirevietnamese.com Exercise 4 13
  • 14. HIREVIETNAMESE

×