Join Bill Weinman for an in-depth discussion in this video Creating an Objective C interface for SQLite, part of iOS App Development: Building Data-Driven Apps with SQLite.
- The native SQLite interface is written in C.…And white it works very well, it's not very convenient…in an object-oriented Objective C environment.…So I begin by creating a wrapper,…sometimes called an adapter pattern,…to encapsulate the C language SQLite interface…into a native Objective C interface that's easy to use…and easy to extend for our purposes.…Here I've opened a working copy of…Testbed-DB01…from chapter two of the exercise files.…
And in order for this to work,…we need to pay attention to a couple of details.…First of all, we're gonna come up here to the target.…And here, under General, way down here at the bottom,…you'll notice that I have added in a framework…for the SQLite library.…And you do this just by pressing this plus button down here…and you search for SQLite.…And I selected this one.…They're actually both exactly the same file.…If you look in the file system, there's a symbolic link.…So I picked the one that just says "3,"…And that works fine.…
And that'll add it over here in your files.…
- Building a testbed
- Creating an Objective-C interface for SQLite
- Creating a CRUD interface
- Designing the database schema
- Creating the main table view
- Creating the items table view
- Adding new feeds
- Parsing feeds with NSXML Parser
- Viewing webpages
- Preparing icons and toolbar images
- Adding a preferences pane
- Including pull-to-refresh and other features
Skill Level Intermediate
Android App Development: Local Data Storage (2013)with David Gassner3h 41m Intermediate
1. Building a Testbed
2. Building the Database Library
3. Creating the Main Table View
Populating the table view3m 30s
4. Creating the Items Table View
5. Adding New Feeds
6. Viewing Webpages
7. Preparing the Visual Assets
8. Adding a Preferences Pane
9. Adding Features
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.