Re: Bypassing Interface Builder
Re: Bypassing Interface Builder
- Subject: Re: Bypassing Interface Builder
- From: glenn andreas <email@hidden>
- Date: Wed, 14 May 2008 11:13:12 -0500
On May 14, 2008, at 10:58 AM, I. Savant wrote:
The issue could also be addressed from the other direction. How
far behind
the scenes do you want to go? Should one program only with structs
and C
functions because polymorphism and dynamic binding do things for
you "behind
the scenes"?
I had started to say much the sam thing (only was using assembly as
my extreme example) but decided against it. :-) Very valid point,
though.
Also, when you support localization, you really need to use NIBs.
Different languages can easily require different layouts, due to
string lengths (German UI text tends to be _much_ longer often
requiring serious re-do of layouts), cultural norms (Left to Right vs
Right to Left), etc.... If you do everything in code, you're going to
have to figure out what the current locale/language is, map it to what
languages you support, and then do your layout from there. By using
NIBs, you can just have a different layout with a differently
localization and the system takes care of everything else.
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
m.o.t.e.s. | minute object twisted environment simulation
_______________________________________________
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