<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Sealyu

    --- 博客已遷移至: http://www.sealyu.com/blog

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      618 隨筆 :: 87 文章 :: 225 評論 :: 0 Trackbacks

    12 SQLite Resources for iPhone Developers

    by Peter Cooper on November 12, 2008 · 18 comments

    SQLite is a public domain database library that offers file and memory based relational database functionality from a single C library. The iPhone / iPod Touch has the SQLite library included and ready to roll and Apple expects the SQLite library to form the backbone of most applications’ data storage requirements.

    We’ve collected together some of the best SQLite related tutorials, and libraries in order to help you on your way with this essential iPhone programming technology:

    Tutorials

    sqlite-tute1.pngiPhone SQLite Database Basics by Lee Falin is a comprehensive introduction to using SQLite in respect to iPhone application development. He covers SQLite database creation and iPhone specific database design considerations well. Lee’s tutorial has lots of screenshots and he takes a step-by-step approach that’s easy to follow. He walks through creating an SQLite database from scratch (on the desktop to start with) and then imports that into an XCode project. Bear in mind, however, that Lee’s tutorial is not about the actual coding necessary to use SQLite on the iPhone itself.

    Reading data from a SQLite Database by Dean Collins is a wonderful “start to finish” tutorial that covers creating an SQLite database, creating an XCode project, and then all the code necessary to use that database within an iPhone app. There’s even a link to an archive of the code used in the tutorial so you can more quickly try it out for yourself.

    SQLite Tutorial 1: Selecting Data by Jai Kirdatt is the first in five SQLite focused tutorials from the aforementioned author. This one covers creating an SQLite database and, like Dean’s tutorial above, using that database from Objective C. There’s more code and less screenshots than in the aforementioned tutorials, so this tutorial is worth coming to once you’re totally confident with the basics. Source code is available to download at the bottom of the post.

    SQLite Tutorial 2: Deleting Data by Jai Kirdatt follows on nicely from the previous tutorial and quickly demonstrates how to delete rows of data from an SQLite database.

    sqlite-tute2.png SQLite Tutorial 3: Adding Data by Jai Kirdatt demonstrates how to add data to an SQLite database from Objective C.

    SQLite Tutorial 4: Loading Data As Required by Jai Kirdatt shows how to select rows in a database to then display in a detail view. Data is only loaded when it is required.

    SQLite Tutorial 5: Updating Data by Jai Kirdatt shows you how to update the database when fields on a form are edited and the application is then terminated.

    Libraries

    EntropyDB is an embedded object database for OS X 10.5 and iPhone OS written in Objective C that’s built on top of SQLite. It provides a nicer API than that offered by SQLite directly. You don’t need to use SQL at all, but instead just work with Objective C objects!

    SQLitePersistentObjects allows you to call “save” on your objects and trust that they will be saved properly and can be easily reloaded in future. No SQL required.

    FMDB is a library that acts as a wrapper around SQLite – inspired by JDBC. fmdb-migration-manager (originally by last week’s podcast interviewee – Dr Nic Williams) allows you to easily roll out database migrations using fmdb.

    iPhone SQLite Persistence for Objects is an open source project that lets you add “object persistence” to your applications. The object persistence uses SQLite, and the library works on both the iPhone and iPod Touch.

    posted on 2010-09-26 22:37 seal 閱讀(281) 評論(0)  編輯  收藏 所屬分類: iPhone
    主站蜘蛛池模板: 最近中文字幕电影大全免费版| 中文毛片无遮挡高潮免费| 国产成人综合亚洲AV第一页| 久久久免费观成人影院| 久久精品亚洲视频| 女人张开腿等男人桶免费视频 | 亚洲国产综合精品中文字幕| 中文无码日韩欧免费视频| 久久亚洲精品成人无码网站| 国产又粗又长又硬免费视频| 99久久精品免费视频| 国产精品亚洲五月天高清| 亚洲一区中文字幕久久| 国产成人无码免费视频97| 免费A级毛片在线播放| 亚洲AV成人片无码网站| 久久精品国产亚洲AV嫖农村妇女| 国产99视频免费精品是看6| 污视频在线观看免费| 色www免费视频| 亚洲一区二区三区免费视频| 亚洲人成色7777在线观看不卡| 4399好看日本在线电影免费| 一级一级一级毛片免费毛片| 精品久久亚洲中文无码| 伊伊人成亚洲综合人网7777| 免费看美女让人桶尿口| 污污网站免费观看| 亚洲免费视频一区二区三区| 亚洲真人无码永久在线观看| 久久亚洲精精品中文字幕| 国产亚洲精品精品国产亚洲综合| 在线观看免费为成年视频| 亚洲美女免费视频| 国产精品青草视频免费播放| 久久水蜜桃亚洲AV无码精品| 亚洲人成激情在线播放| 青青草原精品国产亚洲av| 好看的电影网站亚洲一区| 亚洲国产精品国产自在在线| 永久免费无码网站在线观看|