views:

298

answers:

2

Can someone show me a diagram of how view controllers work in cocoa (obj-c).

I just want to understand because they are confusing me

Thanks!

+4  A: 

I don't think a UIViewController can be summed up in a diagram.

What specifically is it that you are having difficulty with? The navigation from one controller to another? The stacking aspect of a NavigationController? Or the structure of your look and feel inside a ViewController?

The question is so open ended, I don't think it can be answered in a single thread on this site. I would point you toward Lecture 6 of the Stanford class on iPhone programming. Both the lecture notes and the lecture itself (with sample exercises) can be found at: http://www.stanford.edu/class/cs193p/cgi-bin/index.php

mmc
thanks, I'll watch that video. But I'm just having trouble understanding what is it that the view-controller does?
Daniel Kindler
Agree with mmc. You should try to seek out more broad-spectrum explanations of iPhone programming in general, then return with a more specific question if you still don't understand.
danielpunkass
+3  A: 
zPesk
thanks man! that waas a help
Daniel Kindler