Hi,

I have an app that uses a TAB bar controller to launch "n" view controllers through my main window.XIB. I wanted each of them to have a nav bar with custom buttons and so I added a nav bar controller to the XIB for each one. so the hierarchy in IB is

Tab bar controller
-> tab bar
 --->    navigation controller
--------> nav bar
--------> view controller
------------> UIview
------------> navbar item
------------> tab bar item

I have this structure for each viewcontroller. Problem is I can't help but think this adding a massive overhead to the application (launch is slower also). is there a better way to do this. should i split them out into separate XIB's.

Also, one of my controllers uses a table view and from that I launch two XIB's dependant on the row selected. one has a UIview with an embeded webview the other a UIview with a uitextview embedded. The problem I have is that I use use the nav bar to start a UIActivityIndicatorView to show the views loading. for the webview everything works ok. for the view with the UItext view I have to wait for the user to add some text then it performs a load but the UIActivityIndicatorView on this doesn't show up on the nav bar. did I miss something obvious. I know from NSlog that the method is called the only difference I can see is in the CAlayer.....

last but not least......

Is there a way I can stop my searchbar from disappearing when the user scrolls the table view (3.0 it is attached to the top of the table view not the nav bar)

thanks in advance.....




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to