Re: IB view transitions, CA, NSWindow animation
Re: IB view transitions, CA, NSWindow animation
- Subject: Re: IB view transitions, CA, NSWindow animation
- From: Milen Dzhumerov <email@hidden>
- Date: Sun, 27 Jul 2008 19:58:46 +0100
On 27 Jul 2008, at 07:36, Jacob Bandes-Storch wrote:
[snip]
For resizing, the logical method is -[NSWindow
setFrame:display:animate:]. This all works fine... until a
descendant subview has a layer. Then I get a pause, and the window
resizes without animating. If I remove the layer from the subview,
the animation works. (The subview is a descendant of the view which
I am *removing* from the window *before* changing the size. Why does
it make a difference anyway?)
[snip
Can anyone give me some advice here? What am I doing that's ruining
the NSWindow resize animation? How can I get the view transitions
working? Thanks in advance.
This is a known bug (rdar://problem/5827811). Workaround by using one
content view and replacing the subview of the content view.
M
_______________________________________________
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