Re: iOS: Automatically resizing subviews
Re: iOS: Automatically resizing subviews
- Subject: Re: iOS: Automatically resizing subviews
- From: Kyle Sluder <email@hidden>
- Date: Mon, 06 Jun 2011 10:00:59 -0700
On Jun 6, 2011, at 9:35 AM, Development <email@hidden> wrote:
>
> That might be the problem. I'm not doing this in IB. I'm creating the view's programatically.
>
> I also noticed that no matter what I do, the subview's auto resizing mask always returns 0;
Did you make sure you didn't accidentally create multiple copies of your view?
>
> Actually the whole thing is a screwed up mess.
>
> Neither view seems to respond to the drawing code I try to use. For instance. I want the outer view to have a dashed border around it when it is selected.
Your terminology bothers me. Views don't "respond to" drawing code, they perform it within -drawRect:. Are you trying to draw into the view from elsewhere?
--Kyle Sluder
(Sent from the WWDC keynote line)_______________________________________________
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