Re: [iPhone] seeking advise on complex view design
Re: [iPhone] seeking advise on complex view design
- Subject: Re: [iPhone] seeking advise on complex view design
- From: Sean Kline <email@hidden>
- Date: Tue, 11 Aug 2009 10:57:13 -0400
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 <email@hidden> 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 <email@hidden>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 <email@hidden> 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 <email@hidden> 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 (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
>>>>
>>>> _______________________________________________
>>>
>>> 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
>>>
>>
>
_______________________________________________
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