Search code examples
iosiphonedatabaseios7

Creating simple database for iOS application


I'm planing to create an app for iOS which will be kind of informative application for public transport in my city. People will enter street name from where they want to get public transport and will get list of buses and minivans, which are traveling by that street.

My problem is that I'm just started developing for iOS and want to find easy method to create a database/table with simple information as streets name and bus numbers that will connected with those streets.

So basically I need to create database/table and an search-box which will be connected to that database.

From where I need to start? Thanks.

p.s. - sorry for my bad english ;)


Solution

  • SQLite is quite popular and supplied by Apple. This lets you manage your table, and allows most standard SQL queries. You can also link to Core Data if you want to treat your data as objects.

    See the Apple overview

    There are many tutorials to build a simple app with a table view using SQLite, e.g. here or here

    I found the Stanford University videos a good way to learn this stuff, e.g. here on YouTube or there are later versions available in iTunes U.