Save data to SQLite or something on iPhone/Touch

Discussion in 'Mac Programming' started by JPT, Mar 7, 2008.

  1. JPT
    macrumors regular

    Joined:
    May 4, 2006
    #1
    How would one go about writing a script that saves user inputted data into a SQLite database or something and being able to fetch it?
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    You mean a script from the Desktop that writes data to the iPhone? You can't at this stage. Maybe by the time the 2.0 firmware ships Apple will provide a way to do it.
     
  3. JPT
    thread starter macrumors regular

    Joined:
    May 4, 2006
    #3

    No, I meant an app on the phone that will have input fields that a user can type something in and click Save or something and it will save it. So that next time that person goes into the application that data will still be there.

    Sorry for not explaining very clearly :eek:
     
  4. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
    Yes you can do that. You need to learn Cocoa though, and download the iPhone SDK to play with it.
     
  5. macrumors 6502

    Joined:
    Jun 30, 2007
    #5
    Learn Obj-C first.

    Understand the Cocoa frameworks.

    Apply apply apply.

    I am excited they have SQLite in the iPhone for handling data.
     

Share This Page