Re: IB view transitions, CA, NSWindow animation
Re: IB view transitions, CA, NSWindow animation
- Subject: Re: IB view transitions, CA, NSWindow animation
- From: Jacob Bandes-Storch <email@hidden>
- Date: Sun, 27 Jul 2008 12:44:40 -0700
By "one content view," do you mean a view inside the window's content
view? It appears to do the same thing. The resizing animation works
when it has a layer, but then again the same thing happens with the
content view having a layer.
On Jul 27, 2008, at 11:58 AM, Milen Dzhumerov wrote:
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