Doing It with a Grid / Testing the Grid-Based App
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.
Learn More
Subtitles of the Movie
As you can see, I've been changing things around. I've added a little more data to the file so if we come down here, you'll see that I've now put 6 libraries in and I'll come back and run it in the Simulator. I've rearranged some things down here, wired up some things. It will only work on iPhone, not in the Simulator and we're loading the data and, as you can see, what I've got is what I have been trying to do here which is to get on one page a large number of items. I can go back and forth, select by name or by image and get all of the information that I want down here and on iPhone, these buttons will work. Notice that by using the buttons even if I'm looking at something like Safari on a Desktop application where those icons are not going to work, I can at least use the icons so that people can see what this is. This is an address, this is a phone number, although they can usually figure that out. So, this is the way in which we can use a dataSource to populate a grid up here and then use the grid selection for the information that we want to display down here. It's a very fast, very compact, very responsive way of manipulating the data, but there's more that we can do with something like this and what I'm going to show you now is a way of displaying additional information that might be part of the data source and what that is going to do, will let you use some of the built-in graphics with Dashcode to make it easier for the user to understand what's going on there and what sorts of information are being presented. These techniques of using the built-in indicators and the graphics, these are available whether you're running with a grid-based display or a multilevel display as we were doing previously. It's not specific to grid-based or multilevel-based. It's just a way of looking at some of the other features that are built into Dashcode that can make your life easier. So, as you can see, it's not hard to go from a dataSource to a grid for fast and responsive display of information and just one click gets you to where you want to go. If you find yourself enlarging the grid or wanting to page the grid, then you're usually looking at something like the multilevel structure where you can go through those long lists and a list that you have to scroll. As long as it's organized in some ways, they're just alphabetically or in some way that your users will understand, having a list that has to scroll is not a problem. Now, let's move on and see how we can use additional graphics and indicators to make this even a richer experience for your users.
Tutorial Information
| Course: | Developing iPhone Web Apps |
| Author: | Jesse Feiler |
| SKU: | 34075 |
| ISBN: | 1-935320-89-0 |
| Release Date: | 2009-12-31 |
| Duration: | 8 hrs / 103 lessons |
| Work Files: |
Yes |
| Captions: | Available on CD and Online University |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 