PDA

View Full Version : Editing and saving user created data?




WhateverIfeel
Jul 28, 2009, 10:46 AM
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!



robbieduncan
Jul 28, 2009, 11:03 AM
Yes. All that is possible.

moral-hazard
Jul 28, 2009, 08:57 PM
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.

WhateverIfeel
Jul 29, 2009, 03:35 AM
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?

robbieduncan
Jul 29, 2009, 04:41 AM
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.

WhateverIfeel
Jul 29, 2009, 04:47 AM
OK. But could you give me a direction in which to start?

robbieduncan
Jul 29, 2009, 05:27 AM
OK. But could you give me a direction in which to start?

See the sticky thread at the top of this forum.