sample for sqlite database in xcode

108 views
Skip to first unread message

Vahid Dianat

unread,
Nov 19, 2009, 1:55:21 AM11/19/09
to iPhone SDK Development
I want a sample that it can open select update insert data from string
or array into table.
please soon.
guide me please.
thanks

Mads Rasmussen

unread,
Nov 21, 2009, 11:18:04 AM11/21/09
to iphonesdkd...@googlegroups.com, iPhone SDK Development
Have a look at icodeblog.com - there's an example of how to do a ToDo
list

Mads

Sent from my iPhone
> --
>
> You received this message because you are subscribed to the Google
> Groups "iPhone SDK Development" group.
> To post to this group, send email to iphonesdkd...@googlegroups.com
> .
> To unsubscribe from this group, send email to iphonesdkdevelop...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/iphonesdkdevelopment?hl=
> .
>
>

yadalam rakesh

unread,
Nov 23, 2009, 1:48:15 AM11/23/09
to iphonesdkd...@googlegroups.com
CheckOut
Sqlitebooks sample code.

Cheers,
Rakesh Yadalam (+919740265848),
iPhone Games Developer,
Permeative Tehnologies Pvt. Ltd.
Bangalore-29.


Ted Turner  - "Sports is like a war without the killing."

shelly

unread,
Nov 23, 2009, 8:24:17 AM11/23/09
to iPhone SDK Development
I would not do sqllite by itself anymore, create your project using on
of the core data templates.

follow the core data tutorial from the apple developers site.

Look at the following Apple samples.

Photolocations - easy to understand and very good.
locations - follows the tutorial
core data books - more advanced db handling
topsongs - good solid logic to follow

Can't imagine why anyone would want to program sqllite from scratch
anymore, when core data is powerful, easy to learn and can use sqllite
as the manageddataObject.

On Nov 23, 1:48 am, yadalam rakesh <yadalam.rakesh...@gmail.com>
wrote:
> CheckOut
> Sqlitebooks sample code.
>
> Cheers,
> Rakesh Yadalam (+919740265848),
> iPhone Games Developer,
> Permeative Tehnologies Pvt. Ltd.
> Bangalore-29.
>
> Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html>  -
> "Sports is like a war without the killing."
>
> On Sat, Nov 21, 2009 at 9:48 PM, Mads Rasmussen <rasmussen.m...@gmail.com>wrote:
>
>
>
> > Have a look at icodeblog.com - there's an example of how to do a ToDo
> > list
>
> > Mads
>
> > Sent from my iPhone
>
> > On 19/11/2009, at 04:55, Vahid Dianat <vahidn...@gmail.com> wrote:
>
> > > I want a sample that it can open select update insert data from string
> > > or array into table.
> > > please soon.
> > > guide me please.
> > > thanks
>
> > > --
>
> > > You received this message because you are subscribed to the Google
> > > Groups "iPhone SDK Development" group.
> > > To post to this group, send email to
> > iphonesdkd...@googlegroups.com
> > > .
> > > To unsubscribe from this group, send email to
> > iphonesdkdevelop...@googlegroups.com<iphonesdkdevelopment%2Bun­subs...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> >http://groups.google.com/group/iphonesdkdevelopment?hl=
> > > .
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "iPhone SDK Development" group.
> > To post to this group, send email to iphonesdkd...@googlegroups.com
> > .
> > To unsubscribe from this group, send email to
> > iphonesdkdevelop...@googlegroups.com<iphonesdkdevelopment%2Bun­subs...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/iphonesdkdevelopment?hl=.- Hide quoted text -
>
> - Show quoted text -

Stefano

unread,
Nov 23, 2009, 12:51:58 PM11/23/09
to iPhone SDK Development
I agree 100%. However, I do feel a bit tempted for the following
reason. (Please excuse me if I am totally incorrect.) I am a newcomer
and have an existing database in MySql that I would like to migrate to
sqlite for use in an app on my iPhone. It seems to me from my initial
research that you can't simply copy an existing sqlite database and
hook into it from core data. Please correct me, but it seems that you
have to use the data modeling tool to create the objects and
relations, and then populate the data somehow. I will keep on reading
and investigating further as to the best way to bring in my 100+ meg
database for use in my iPhone app. Thanks for the tutorials.
> > >http://groups.google.com/group/iphonesdkdevelopment?hl=.-Hide quoted text -
Reply all
Reply to author
Forward
0 new messages