| User |
Post |
|
11:21 am
September 19, 2008
|
|
bobcubsfan
iCoder
|
|
|
Los Angeles
|
|
|
|
|
posts 54
|
|
|
|
The examples I have seen to date use, at most, 2 “screens” . The latest example from Brandon (the sql tutorial) is like this. The user touches a row in the table, and the next screen is displayed.
What if, on the second screen, I want to display a third screen by touching a button labeled “next?” I have been able to have the “next” button change the title on the screen it is on, but I cannot get it to “push” to a new screen.
|
|
|
1:35 pm
September 19, 2008
|
|
Admin
|
|
|
brandontreb
|
|
|
|
|
posts 88
|
|
|
|
Have you tried looking at the drilldown example that Apple provided. It should give you some idea how to do this.
I get a lot of requests for such functionality. I will do a post on this in the near future. However, I want to stray away from using UITableViews for a while and show users how to use other controls as well as do some OpenGL ES stuff.
But rest assure, one such tutorial is in the queue.
|
If debugging is the process of removing bugs, then programming must be the process of putting them in.
-Edsger Dijkstra
|
|
|
5:01 pm
September 19, 2008
|
|
bobcubsfan
iCoder
|
|
|
Los Angeles
|
|
|
|
|
posts 54
|
|
|
|
I have looked at it. There is the added complexity of “dictionaries” and there are only two views.
What I need is something like this:
View 1 has a table of baseball teams. “Touching” a team leads to:
View 2 has a table of current team members. “Touching” a player leads to:
View 3 has a table of the players batting average for the years he is on the team.
This is not what I am working on, but it gives an idea of what I need, which is actually 5 or more views.
I will keep plugging away, but it is very frustrating to have the compiler issue errors that I know are wrong, with no indication how to fix them.
Again, thanks for your great efforts. When Apple lifts the NDA, you should write a book based on your tutorials.
|
|
|
8:11 am
September 20, 2008
|
|
bobcubsfan
iCoder
|
|
|
Los Angeles
|
|
|
|
|
posts 54
|
|
|
|
Hi Brandon,
I got the “third” view to work, sort of. Turns out that the order of #import nnnn makes a difference. No errors, but, my third view shows only a blank screen. No background or controls. I have not been able to connect its view to the view icon in the interface builder.
|
|
|
12:49 pm
September 20, 2008
|
|
bobcubsfan
iCoder
|
|
|
Los Angeles
|
|
|
|
|
posts 54
|
|
|
|
5:38 pm
September 20, 2008
|
|
jenart
Noob
|
|
|
|
|
|
|
|
posts 1
|
|
|
|
just wondering how did you fix it? was it something in IB you missed?
|
|
|
12:31 pm
September 21, 2008
|
|
bobcubsfan
iCoder
|
|
|
Los Angeles
|
|
|
|
|
posts 54
|
|
|
|
Yes. Had to connect the view properly.
|
|