Re: iOS: Automatically resizing subviews
Re: iOS: Automatically resizing subviews
- Subject: Re: iOS: Automatically resizing subviews
- From: Development <email@hidden>
- Date: Mon, 06 Jun 2011 10:56:29 -0700
On Jun 6, 2011, at 10:00 AM, Kyle Sluder wrote:
> 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?
Yes, I've verified that only one copy per view object is added. Meaning. The application might have several instances of the class however when the class is initialized it is the only copy with it's parameters
>
>>
>> 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?
your right, not the right term I suppose.
No, I am using the view's drawInRect: method to do all drawing. and more or less I get nothing.
>
> --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