• Post Reply Bookmark Topic Watch Topic
  • New Topic

loading 2 windows one after the other

 
K. Tsang
Bartender
Posts: 3610
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all, I'm new to iPhone development. I got the "iPhone in Action" book and trying those objective-C apps inside. One of them is loading a URL when the app is run. Now I just wondering if I can have say a text field allowing users to enter a URL then launch the page?

It's currently a window-based app, no view controllers stuff. I'm wondering if I need a controller for this. Or should I create a new type of app like navigation app to make this easier?
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well no matter what, you need a controller for any view. You can create the view programatically, but you hook up the UI stuff to the controller to handle your actions.

Hope that makes sense.

Thanks

Mark
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!