Understanding the table view
Video: Understanding the table viewTable view is one of the most useful and revolutionary features in iOS. I was at the Macworld keynote address in 2007 when Steve Jobs first announced the iPhone. When he first put his finger on the list of items and pushed it into a scroll, the audience literally got up and cheered. They had never seen a mobile interface this intuitive, and this easy to use. This is Apple's email app that comes with the iPhone, it's a simple Table view, it's completely intuitive. You see this view, and you just want to scroll it. Table view is incredibly flexible too.
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.
- 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
Understanding the table view
Table view is one of the most useful and revolutionary features in iOS. I was at the Macworld keynote address in 2007 when Steve Jobs first announced the iPhone. When he first put his finger on the list of items and pushed it into a scroll, the audience literally got up and cheered. They had never seen a mobile interface this intuitive, and this easy to use. This is Apple's email app that comes with the iPhone, it's a simple Table view, it's completely intuitive. You see this view, and you just want to scroll it. Table view is incredibly flexible too.
Here is the settings app. This represents a grouped table view. The organization of items in this view is clear and obvious. The IMDB app uses a Table view to display REACH information. You got the movie poster and lots of date in the first cell, ratings in another cell, other artwork, an obvious link to the trailer. Again, it's intuitive you need no training to know that you pressed on that to watch a trailer. Then scroll down to get more information in other groups. It's clear, and it's obvious. This is the RSS app that we're building in this course.
We're using a simple table view for displaying and selecting from list of feeds and items. As we work with it, you'll see how easy it is to work with the table view interface. The Table view is a powerful and flexible interface that's useful for a variety of applications. Take the time to experiment with it. Play with it. Learn what it has to offer. The REACH interface provides a wealth of options that you can advantage of to provide you data and navigate with a clear and obvious, user interface in your own applications.
Find answers to the most frequently asked questions about iOS SDK and SQLite: Building Data-Driven Apps (2013) .
Here are the FAQs that matched your search "" :
- Q: Why is the RSSDB library in the exercise files different than the one in the videos?
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.
- Q: After upgrading to Xcode 5.1 I get an error that says:
"Used type va_list (aka_builtin_va_list) where arithmetic or pointer type is required"
- A: Please download the exercise files again to get the latest version of the BWDB library.
- Q: I'm using Xcode 6. Why am I getting error messages with the exercise files?
- A: A lot has changed in iOS since this course was released. The author is in the process of rewriting the code and updating the course for iOS 8. In the meantime he has prepared a version of the app that works in iOS 8 and Xcode 6. Download it here:http://ios.bw.org/
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.