Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-02-2009, 12:12 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: I'm a Brit-pat.
Posts: 171
Default View-Based or Navigation Based?

Hi all,

I have to stick together an application that has the following:
1. A UIView login screen.
2. A UITableView list of stuff
3. A UIView showing details of whatever was picked in step 2.

Now, normally, when I have a list of stuff, I pick the Navigation template and away I go. This would be pretty simple because it gives the nav controller for pushing views, but then how do I tack on a login screen before the list shows?

Would the illusion of having the list at the front and that upon loading it pushes a new screen to login be bad form?

Cheers,

Coulls
coulls is offline   Reply With Quote
Old 07-02-2009, 12:17 PM   #2 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 812
Default

The root view controller in the nav controller does not have to be a tableviewcontroller.
johnqh is offline   Reply With Quote
Old 07-02-2009, 12:37 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: I'm a Brit-pat.
Posts: 171
Default

Quote:
Originally Posted by johnqh View Post
The root view controller in the nav controller does not have to be a tableviewcontroller.
OK - Thanks.

For now, I'll just push the login screen in the didLoad event, then pop it if successfully logged in.

Cheers,

Coulls
coulls is offline   Reply With Quote
Old 07-02-2009, 10:05 PM   #4 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: I'm a Brit-pat.
Posts: 171
Default

Quote:
Originally Posted by coulls View Post
OK - Thanks.

For now, I'll just push the login screen in the didLoad event, then pop it if successfully logged in.

Cheers,

Coulls
Actually, this works very well from an optics standpoint. You'd never know there was a previous screen - so I'm running with this for now.

Cheers,

Coulls
coulls is offline   Reply With Quote
Reply

Bookmarks

Tags
login, navigation, uiview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 266
17 members and 249 guests
@sandris, ADY, Alsahir, dacapo, Dani77, Desert Diva, djohnson, HemiMG, jansan, JasonR, MarkC, mer10, prchn4christ, ryandb2, smethorst, tomtom100
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,882
Threads: 89,228
Posts: 380,762
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jansan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:58 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0