Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hajira

macrumors newbie
Original poster
Jul 25, 2012
17
0
I am a newbie to iPhone app development.I want to know what database is used in iPhone app development?
 
There are two primary database access APIs in iOS:
Core Data
SQLite

The actual data is stored in SQLite in both cases. In other words Core Data uses SQLite as the data store.
 
So u mean SQLite is used?Can u please give me the information where can i download it ?and downloading SQLite is enough?no need of Core Data?Can i use SQL Server instead?
 
Already mentioned in above post, there are 2 ways: Core Data and SQLite.

Here is the SQLite API you can use in your application. You can read the documentation provided. If it seems okay then you can start using this in your app.

Source: https://github.com/ccgus/fmdb

You can also directly use the SQLite C API on your app.

Here is the SQLite site for getting idea about it.

http://www.sqlite.org
http://www.sqlite.org/lang.html
 
Are you looking to store data directly on the device or on a server? If you are working directly with the database on iOS, there is nothing to download; Xcode already has all the SQLite libraries included with it. You just need to look over the documentation and figure out if using SQLite directly (or via an Obj-C wrapper) or CoreData is going to work better for you. If you are looking to store data on a server somewhere and have iOS access it, it doesn't matter what database you use. All you need is some sort of webservice to sit between the DB and your application and pass the data back and forth.
 
I have downloaded SQlitemanager .Is it correct ?And please give me an example how to insert data from iphone interfacebuilder into SQLite
 
Can u please tell me what does it mean by storing the data on the device or storing it on the server?
 
Can u please tell me what does it mean by storing the data on the device or storing it on the server?
Data files can be stored on the device itself just like you store graphics, plists, settings, etc.... The device has internal storage, the same storage you use for songs, books, videos, etc...
The data can also be stored on another device like the cloud or on a website or data server. Remote data on a server is usually called 'client server' One benefit is that other people can access the server and update the data.

One example is storing music on the cloud vs storing music on the device's internal storage.
 
I want to make an app where the user can input data and that data will be emailed and/or SMS to me.. is there any drag n drop non coding software that can do this like appmakr, gamesalad etc??
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.