Re: Animating NSTabView
Re: Animating NSTabView
- Subject: Re: Animating NSTabView
- From: Matt Brewer <email@hidden>
- Date: Tue, 25 Dec 2007 00:11:31 -0500
I looked into this earlier, and from what I understand of the
situation, the orderIn and OrderOut transitions are when subviews are
created or removed from subview tree. So, unless you are adding or
removing views, you aren't going to see any animations just swapping
between the views.
I found an example project using NSViewAnimation somewhere, but I
can't recall just where I found it. This had a controller with
outlets for a container view and two subviews which it swapped in and
out. Relatively basic in concept, but was fairly ugly code with the
viewanimation stuff (but is Tiger compatible).
Matt
email@hidden
http://www.macfanatic.net/blog/
On Dec 24, 2007, at 2:26 PM, email@hidden wrote:
Message: 14
Date: Mon, 24 Dec 2007 12:24:20 -0700
From: Rod Schmidt <email@hidden>
Subject: Animating NSTabView
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
I'd like to animate my tab view when it switches tabs. I thought this
was supposed to be easy with the Core Animation changes in Leopard,
but I can't figure it out. If turn on the layers in IB 3 and set the
orderIn transition effect I get nothing. I've tried various things but
can't get anything to happen. Can someone tell me how to do this? Does
NSTabView not support animating transitions between tabs? Can someone
point me to a good tutorial on using Core Animation with Cocoa views?
Thanks,
Rod Schmidt
www.infinitenil.com
_______________________________________________
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