Re: CATransition + NSView mask

2009-08-12 Thread Evan Moseman

Sean,

Thanks very much for the link, the example project is fundamentally  
doing the same things that I'm trying to accomplish, without the  
linked-list functionality.


I ran the app and noticed that the animating views were also being  
clipped by the window.  After seeing this example it makes sense that  
the views being transitioned would only be clipped by the window, as  
there isn't anything else to clip the transition images.


Maybe I'll try to add my view as a subview and see if that works.   
But, in my case there are other views that are being covered by the  
transition images as the animation occurs.


Do the animator proxies for the NSViews have any sense of layers?   
Kind of like the idea of sending something back or forward in an view  
order?


--
Evan


On Aug 11, 2009, at 10:43 AM, Sean Kline wrote:

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 evan.mose...@gmail.com 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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/ 
skline1967%40gmail.com


This email sent to skline1...@gmail.com



___

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

This email sent to arch...@mail-archive.com


Re: CATransition + NSView mask

2009-08-12 Thread Sean Kline
Evan,
According to Cocoadev.com, Animator proxies can be used with or without
layer-backed mode.  Here is the page that mentions this:

http://www.cocoadev.com/index.pl?CoreAnimation

I hope that helps.

Regards,
Sean

On Wed, Aug 12, 2009 at 10:22 AM, Evan Moseman evan.mose...@gmail.comwrote:

 Sean,

 Thanks very much for the link, the example project is fundamentally doing
 the same things that I'm trying to accomplish, without the linked-list
 functionality.

 I ran the app and noticed that the animating views were also being clipped
 by the window.  After seeing this example it makes sense that the views
 being transitioned would only be clipped by the window, as there isn't
 anything else to clip the transition images.

 Maybe I'll try to add my view as a subview and see if that works.  But, in
 my case there are other views that are being covered by the transition
 images as the animation occurs.

 Do the animator proxies for the NSViews have any sense of layers?  Kind of
 like the idea of sending something back or forward in an view order?

 --
 Evan



 On Aug 11, 2009, at 10:43 AM, Sean Kline wrote:

  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 evan.mose...@gmail.com 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 (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:
 http://lists.apple.com/mailman/options/cocoa-dev/skline1967%40gmail.com

 This email sent to skline1...@gmail.com



___

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

This email sent to arch...@mail-archive.com


Re: CATransition + NSView mask

2009-08-11 Thread Sean Kline
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 evan.mose...@gmail.com 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 (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:
 http://lists.apple.com/mailman/options/cocoa-dev/skline1967%40gmail.com

 This email sent to skline1...@gmail.com

___

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

This email sent to arch...@mail-archive.com