Re: layout method not getting called on Content View
Re: layout method not getting called on Content View
- Subject: Re: layout method not getting called on Content View
- From: Kyle Sluder <email@hidden>
- Date: Wed, 15 Apr 2015 15:02:50 -0500
On Wed, Apr 15, 2015, at 02:41 PM, Dave wrote:
> A bit more, I turned Auto Layout on and now the layout method gets
> called, but it doesn’t set the Frame Rect correctly.
>
> I’m looping through the subviews and setting the frames of a couple of
> NSViews, but the Frame doesn’t change?
As documented, you shouldn't be setting frames with Auto Layout enabled.
They'll get stomped on the next layout passed.
You might want to watch the introductory videos available at
apple.com/wwdc.
--Kyle Sluder
_______________________________________________
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