Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
The iOS software development kit (SDK) includes the popular SQLite library, a lightweight yet powerful relational database engine that is easily embedded into an application. In this course, Bill Weinman teaches you how to build an RSS reader for iOS devices, integrating XML data and a streamlined interface. He explains how to use the SQLite database, display information in a table view, code view controllers, and create a preferences pane for your app. The resulting application is optimized for all iPhone and iPad displays.
The exercise files for this course are included with your basic lynda.com membership. If you are a lynda.com member you have access to the exercise files used throughout this title. Copy the exercise files to a location where you can find them on your system. Make sure it's a location that doesn't have any spaces in the file path. Some of Xcode's tools do not work properly if there are spaces in file names. I have copied them to the desktop on this system. The exercise files are laid out by Chapter with each folder corresponding to a Chapter in the course.
Within the Chapter folder there are other folders with Xcode projects in them. An Xcode project will have one or more folders inside of it and a file with the name of the project followed by .xcodeproj. You open this project in Xcode by double-clicking on the Xcode project file. I recommend that you make a working copy of one of these projects before you open it in Xcode. You can easily do that on a Mac by holding down the Option key and dragging the folder into an empty space in the containing folder.
When you let go of the mouse button, Finder will make a copy of that entire folder tree and rename it with a number after it. Then you simply click on it, maybe click on it again, and Finder will allow you to rename it. And then you can open that project in Xcode by double-clicking on the Xcode Project file. Some of the Chapters have files in them that end in .txt, these are text files that contain Objective-C code.
You want to open these in a plain text editor like TextWrangler or BBEdit or another plain text editor that is not a Word Processor. Word Processors add other information, other invisible information to your code and make it unusable in Xcode. The code in these files will be copied and pasted in the Xcode so that you don't have to type a lot of code yourself. The exercise files are here to make you a learning experience easier and more powerful. Be sure to take the time to read the code and experiment with it, make changes, make mistakes.
There is a lot of code here, take the time to learn with it.
Find answers to the most frequently asked questions about iOS SDK and SQLite: Building Data-Driven Apps.
Here are the FAQs that matched your search "":
A: The RSSDB library had to be updated to work around a bug in the iOS 7 SDK.
There is a bug in the iOS 7 SDK that prevents the BWDB fast enumeration implementation from working on a device. The symptom is code that runs fine on the emulator, but not on a device. iOS devices use an ARM processor, while the emulator runs on your Mac's Intel processor. This points to the LLVM ARM code generator as the source of the bug. Because the bug appears to be in the LLVM compiler, it may be some time before it is fixed.
As a workaround we have changed the getFeedIDs and getItemIDs methods in the RSSDB library so they don't use Objective C fast enumeration.
Please note that this same bug also affects some of the BWDB testbed code in Chapter 2. The result is that it will run on the emulator but not on a device.
"Used type va_list (aka_builtin_va_list) where arithmetic or pointer type is required"
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.