Editing and saving user created data?

Discussion in 'iOS Programming' started by WhateverIfeel, Jul 28, 2009.

  1. WhateverIfeel macrumors newbie

    Joined:
    Jul 28, 2009
    #1
    As a newcomer to the iPhone SDK, I was wondering over what the different APIs can achieve. Is it possible to code an application where a user can create data, i.e. draw a picture on the screen, which can be then saved on the device or sent away to others? Could it also be possible to upload it somewhere?

    Thanks in advance!
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
  3. moral-hazard macrumors regular

    Joined:
    Jul 27, 2009
    Location:
    Palo Alto, CA
    #3
    Yes. There is support for SQLite on the iPhone. You could very easily create a SQLite database (on the iPhone this would likely just be a single table rather than a relational database). The created data could be written to the database, then loaded it again next time the app runs.
     
  4. WhateverIfeel thread starter macrumors newbie

    Joined:
    Jul 28, 2009
    #4
    Thanks for your answers! How specifically would I come about saving the data?
    If I draw a stickman, is there an API or someway that "saves" it into for example a SVG file or PDF?
    You mention SQlite. How does it work with uploading a picture? Can it also receive an image from a SQlite server?
    I have also heard that Core Data is much better than SQlite. Is it in the above context?
     
  5. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #5
    For images you don't want either CoreData or SQLLite. I suggest you start learning the basics, read the documentation then come back with code and concrete questions instead of asking general, generic ones.
     
  6. WhateverIfeel thread starter macrumors newbie

    Joined:
    Jul 28, 2009
    #6
    OK. But could you give me a direction in which to start?
     
  7. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #7
    See the sticky thread at the top of this forum.
     

Share This Page