Join Bill Weinman for an in-depth discussion in this video Using the testbed, part of iOS SDK and SQLite: Building Data-Driven Apps (2013).
- View Offline
- Exercise Files
So now, I'd like to show you an example of how I've used the Testbed in this application,…so you can get an idea of how to use it yourself.…As I mentioned before, when I have a specific task to accomplish, I'll start with the Testbed…like this one and do some prototyping to figure out what approach to take.…This is an example of a task that I needed to play with in order to understand it well…enough. So, let's open Testbed-dates.…The project is in the Xcode project file, and I'll double-click on that, and that will…open it up in Xcode.…
And if we open this up to the source code here, you'll notice in TestbedViewController…everything else is the same.…I'm just going to get rid of that so that we have a little room for the code.…In this runTest function, you'll notice that I have a bunch of date testing codes.…So, I have Testbed version and then date testing.…And I've got a for loop with a boxed array of strings.…And then for each of those strings I'm converting the string to a date format and then I'm displaying…
- Prototyping the app
- Coding and working with a testbed
- Creating an Objective-C interface for SQLite
- Designing a database schema
- Creating the view controllers
- Reading and writing to the database
- Parsing the RSS feed with NSXMLParser
- Updating the item view with feed items
- Implementing the pull to refresh gesture for iOS 6
- Creating a universal application with multiple views
Skill Level Intermediate
1. An iOS Testbed
2. Building a Database Library
Understanding SQLite in iOS1m 41s
3. Creating the Table View App
4. Parsing XML Data
5. Using a Modal View
6. The Web View Controller
7. Creating a Preferences Pane
8. Adding a Feature
9. Creating a Universal Application
- 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.