Subscribe ( )

iPhone Programming Tutorials


 

Forum

You must be logged in to post Login Register

Search 

Multiple Screen Navigation

User Post

11:21 am
September 19, 2008


bobcubsfan

iCoder

Los Angeles

posts 54

1

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

2

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

3

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

4

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

Fixed it.

5:38 pm
September 20, 2008


jenart

Noob

posts 1

6

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

7

Yes. Had to connect the view properly.

Search 

About the iCodeBlog forum

Most Users Ever Online:

44


Currently Online:

8 Guests

Forum Stats:

Groups: 2

Forums: 6

Topics: 419

Posts: 893

Membership:

There are 934 Members

There has been 1 Guest

There are 2 Admins

There is 1 Moderator

Top Posters:

bobcubsfan – 54

crazyiez – 30

Uhu – 17

AdeC – 17

Nick – 15

jitesh61 – 12

Administrators: Brandon (88 Posts), Collin (0 Posts)

Moderators: VertigoSol (26 Posts)



©   

  • Posted by on 6 Aug 2008 in Uncategorized
  •   |  
  •   |  
  •   |  
  • Comments Off

Comments are closed.