On 24 Sep 2014, at 14:29, Allan Odgaard wrote:

I have implicit animations enabled which means that when my NSView’s -layout or -resizeSubviewsWithOldSize: methods are called, the frame property of the view reflects the animation’s current value, which means I place subviews in wrong locations […]

My bad, I had disabled autoresizesSubviews. If I leave it alone, I get -resizeSubviewsWithOldSize: for each step of the animation (so my layout will reflect the current size).

Though I would still be interested in learning how I can obtain the target frame (e.g. for custom hit-testing).
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to