Re: CATransition + NSView mask
Re: CATransition + NSView mask
- Subject: Re: CATransition + NSView mask
- From: Sean Kline <email@hidden>
- Date: Tue, 11 Aug 2009 10:43:06 -0400
I am experiencing some strange subview appearance issues, but it may be
unrelated. You may want to take a look at this post by Marcus Zarra, which
may be useful:
http://www.cimgf.com/2008/03/03/core-animation-tutorial-wizard-dialog-with-transitions/
Regards,
Sean
On Sun, Aug 9, 2009 at 9:54 AM, Evan M <email@hidden> wrote:
> I have a simple view transition, and am using a slide transition in
> combination with NSView's replaceSubview: with: method to swap a view's
> subviews. The problem I'm running into with this transition in particular
> is that it doesn't clip to the parent view. The views that are being
> swapped in are only clipping at the bounds of the window and not the view
> and the animation looks bad because there are other buttons, and textfields
> that are getting covered, etc.
>
> I see that CALayer has the maskToBounds attribute that clips the content of
> the layer. I can't find anything analogous for an NSView or anything
> associated with the animator proxy that fits.
>
> Anyone else run in to this problem?
>
> --
> Evan
> _______________________________________________
>
> 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
>
_______________________________________________
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