I personally like starting with Interface Builder and supplementing with code if you want to do non-standard things, but it comes down to what makes you comfortable. Interface Builder can save a lot of time, I think.
On Tue, Aug 11, 2009 at 10:50 AM, Ronnie B <ronny....@gmail.com> wrote: > Thanks Sean and Luke. > > What is a better approach: IB or in code in this case? > > > > On Tue, Aug 11, 2009 at 10:48 AM, Luke Hiesterman <luket...@apple.com>wrote: > >> Sounds like you know the percentages you want. Just get the superview's >> bounds and calculate your frames using percentages of those bounds. Update >> when orientation changes. Or have subviews auto resize. >> >> Luke >> >> Sent from my iPhone. >> >> >> On Aug 11, 2009, at 7:34 AM, Sean Kline <skline1...@gmail.com> wrote: >> >> Are you having difficulty laying this out in Interface Builder? It seems >>> rather straight forward from what you describe. >>> Regards, >>> Sean >>> >>> On Tue, Aug 11, 2009 at 10:14 AM, Ronnie B <ronny....@gmail.com> wrote: >>> >>> Hi list. >>>> >>>> I need to create a rather complex view containing the following from top >>>> to >>>> bottom: >>>> >>>> A subview about 20p in height; >>>> Two rows of buttons three in each row (both taking a third of a space) >>>> A table view taking about a third of a space >>>> An add banner >>>> >>>> I am wondering how this is done. I need to take into account the device >>>> orientation. >>>> >>>> Thanks, >>>> Ron >>>> _______________________________________________ >>>> >>>> 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/skline1967%40gmail.com >>>> >>>> This email sent to skline1...@gmail.com >>>> >>>> _______________________________________________ >>> >>> 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/luketheh%40apple.com >>> >>> This email sent to luket...@apple.com >>> >> > _______________________________________________ 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