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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.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 01-28-2011, 09:12 AM   #26 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 48
grem28 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
Oh boy. You need to get yourself an Objective-C book, quickly.

Code:
[[self navigationController] setNavigationBarHidden:NO animated:YES];
lol.... i agree. do you recommend any good books for retards like me?
grem28 is offline   Reply With Quote
Old 01-28-2011, 09:13 AM   #27 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

See the resources link in my signature, although check for newer versions of any books mentioned.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 01-28-2011, 09:16 AM   #28 (permalink)
Registered Member
 
Join Date: Nov 2010
Posts: 1,106
Meredi86 is on a distinguished road
Default

Loading…

Loading…

May i also suggest the above two links, both from the developer centre - the first is for navigation controllers and the second is for combining tab and nav controllers together.

I found both of these resources sticky going until i had spent a few days messing around with the tab bars and nav bars, but if you keep an eye on them you should start to piece together all of it, and they really did help me sort out my recent nav/tab bar problem.

Also if you could post the code relating to loading your about page that could be quite usefull or if you are in IB a screenshot of the setup you have for your tab bar controller could be usefull.

On the note of books i started at: Programming in Objective-c 2.0 by steve kochan. very Very usefull for syntax and learning the language, but relitivley poor for learning to iphone program.
Along side that id recommend Beginning Iphone Development by Dave Mark and Jeff LaMarche.

Last edited by Meredi86; 01-28-2011 at 09:19 AM. Reason: listing some books
Meredi86 is offline   Reply With Quote
Old 01-28-2011, 09:16 AM   #29 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 48
grem28 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
Oh boy. You need to get yourself an Objective-C book, quickly.

Code:
[[self navigationController] setNavigationBarHidden:NO animated:YES];
I put that code in the viewDidLoad on the second page and it worked great. but now, the bar shows up on the first page. I did this...

Code:
- (void)viewDidLoad {
    [super viewDidLoad];
	
	/*
	 This will simply create a title for this page in the navigation
	 controller. [      Welcome    ]. Also, when the next view is
	 loaded into the navigation conroller, this will set the back
	 button to say welcome
	*/
	
	self.title = @"Welcome";
	[[self navigationController] setNavigationBarHidden:YES animated:NO];
}
and it doesn't make it go away.
grem28 is offline   Reply With Quote
Old 01-28-2011, 09:18 AM   #30 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

viewDidLoad won't normally trigger again in that situation. You should use viewWillAppear:.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 01-28-2011, 09:22 AM   #31 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 48
grem28 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
viewDidLoad won't normally trigger again in that situation. You should use viewWillAppear:.
i know you're gonna hate me for this one.... but... i tried this:

- (void) viewWillAppear:YES {
[[self navigationController] setNavigationBarHidden:YES animated:NO];
}


no luck. and again, what books do you recommend for noobs like me?
grem28 is offline   Reply With Quote
Old 01-28-2011, 09:24 AM   #32 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 48
grem28 is on a distinguished road
Default

Quote:
Originally Posted by Meredi86 View Post
Loading…

Loading…

May i also suggest the above two links, both from the developer centre - the first is for navigation controllers and the second is for combining tab and nav controllers together.

I found both of these resources sticky going until i had spent a few days messing around with the tab bars and nav bars, but if you keep an eye on them you should start to piece together all of it, and they really did help me sort out my recent nav/tab bar problem.

Also if you could post the code relating to loading your about page that could be quite usefull or if you are in IB a screenshot of the setup you have for your tab bar controller could be usefull.

On the note of books i started at: Programming in Objective-c 2.0 by steve kochan. very Very usefull for syntax and learning the language, but relitivley poor for learning to iphone program.
Along side that id recommend Beginning Iphone Development by Dave Mark and Jeff LaMarche.
Thanks for the book recommendations. I'll probably pick it up real soon!
grem28 is offline   Reply With Quote
Old 01-28-2011, 09:25 AM   #33 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Quote:
Originally Posted by grem28 View Post
i know you're gonna hate me for this one.... but... i tried this:

- (void) viewWillAppear:YES {
[[self navigationController] setNavigationBarHidden:YES animated:NO];
}
Code:
- (void)viewWillAppear:(BOOL)animated
Quote:
Originally Posted by grem28 View Post
no luck. and again, what books do you recommend for noobs like me?
Quote:
Originally Posted by BrianSlick View Post
See the resources link in my signature, although check for newer versions of any books mentioned.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 01-29-2011, 08:55 AM   #34 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 48
grem28 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
Code:
- (void)viewWillAppear:(BOOL)animated
Got it going. Thanks for the help!
grem28 is offline   Reply With Quote
Reply

Bookmarks

Tags
tab bar application, tab bar controller, tabview

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: 361
11 members and 350 guests
7twenty7, Clouds, dre, EvilElf, iAppDeveloper, jeroenkeij, Mah6447, Morrisone, Sami Gh, stanny, toon4413
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,121
Posts: 402,899
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

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