Join Bill Weinman for an in-depth discussion in this video Supporting the application with a specific interface, part of iOS SDK and SQLite: Building Data-Driven Apps.
- Now that we have a working CRUD interface…and a SQL interface,…we can use these to build the app specific interface.…This interface performs operations that are specific…to this application like adding, updating,…and deleting feeds and items.…The BWDB and BWCRUD interfaces make this easy…and convenient.…Here I have opened a working copy of Testbed-RSSDB…from chapter two of the Exercise files.…Let's just take a look at this RSSDB.h and m.…
This is the RSSDB, the app specific interface…and again, it's written in Objective C.…Looking at the interface file, the .h file,…we can see there's a lot of stuff up here…at the top that makes it look more complex…than it is.…The real meat of it is the interface itself.…We have methods for dealing with feeds.…Methods for dealing with items,…and methods for dealing with feed groups…which, for now I'm not using.…That's something I'm experimenting with in this app.…You'll also notice up here,…we have a number of string constants.…
These constants are useful…for interfacing with the database…
- 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 SDK: Local Data Storagewith 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?
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.