Re: [iPhone] UINavigationController and UINavigationBar
Re: [iPhone] UINavigationController and UINavigationBar
- Subject: Re: [iPhone] UINavigationController and UINavigationBar
- From: Alex Kac <email@hidden>
- Date: Tue, 8 Dec 2009 14:37:01 -0600
At least on the iPhone I can say that using NIBs can add a short delay or slow some UI operations down. Normally we prefer to use IB everywhere we can. On the iPhone we balance it more. Places where pure code is not difficult, we'll go that route because its noticeably faster. While its gotten better in iPhone OS 3.0+, I can say that there have been a few places where using a NIB creates a non-smooth experience whereas using pure code is smooth as butter. And this is borne out in tech talks and WWDC recommendations.
iPhone dev has to keep in mind the fact its a CPU/memory limited device.
On Dec 8, 2009, at 2:17 PM, Kyle Sluder wrote:
> On Tue, Dec 8, 2009 at 12:00 PM, Aldo Armiento <email@hidden> wrote:
>> The question is: why can I use my custom subclass of UINavigationBar in a UINavigationController using IB and I can't do it programmatically? All that can be done in IB should not be able to do programmatically?
>
> I guess one question is, "why do you want to do this
> programmatically?" Prefer IB over writing code.
>
> Though you're right, you should be able to at least specify the class
> of navigation bar, if not provide your own instance.
>
> --Kyle Sluder
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
Alex Kac - President and Founder
Web Information Solutions, Inc.
"There will always be death and taxes; however, death doesn't get worse every year."
-- Anonymous
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden