• Like
HireVietnamese - Lesson 4
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

HireVietnamese - Lesson 4

  • 1,499 views
Published

iPhone App Development Tutorial

iPhone App Development Tutorial

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,499
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
552
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