Where Is Textual Data Saved?

Discussion in 'iOS Programming' started by Darkroom, Sep 13, 2008.

  1. Darkroom Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #1
    for apps that allow textual input (like word processors), where is that data saved on the iPhone? app-specific database? .plist file? are there any simple tutorials that i can use to calm my curiosity?

    im not terribly new to development, but i know next to nothing about iPod dev.



    *i know this is prob an elementary question, but i've never actually used an iPhone/iPod Touch before... so you can understand where my curiosity is coming from.
     
  2. Farani macrumors 6502

    Joined:
    Oct 21, 2007
    #2
    This is right out of an apple example program:

    It gets saved in the user's documents directory.
     
  3. Darkroom thread starter Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #3
    ok... so it's saved as the app's .plist in the iPhone's documents directory? even if there are hundreds/thousands of user entered strings, they all just get saved to the app's .plist?
     
  4. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #4
    It's not automatic. It's up to your app to choose where it wants to save its data. Read the OS programming guide. You can save it in a file of whatever format you like. You can save it on a web server in China. It's up to you to decide.
     

Share This Page