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.
How should I obtain the actual (target) frame?
Likewise, is there any way to make it so that hit-testing is done on the
target frames? I.e. if I move an NSButton (animated) to targetRect then
I want clicks in targetRect to trigger the button (which initially
seemed to be the case, but I think it broke when I started to also
change frame size, and not just the location).
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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 arch...@mail-archive.com