Re: Sliding a view into place?
Re: Sliding a view into place?
- Subject: Re: Sliding a view into place?
- From: "I. Savant" <email@hidden>
- Date: Mon, 18 Sep 2006 15:39:42 -0400
Why don't the NSAnimation classes work for you? They're 10.4 and up.
--
I.S.
On Sep 18, 2006, at 3:36 PM, Keith Blount wrote:
Hello,
Could anyone give me any advice on the best way of
getting a view to "slide" into place? I have a view
that has three "modes", one of which can be toggled
into the other two, so when the user toggles to one of
these I want that view to "slide" over the top to
enforce the idea that it is kind of an "on-top" view
that can be toggled back off. I guess this thing will
be a lot easier when CoreAnimation comes along, but I
want this working in Tiger...
The approach I am thinking of at the moment is this:
1) Draw both views into an NSImage.
2) Switch to a custom view that draws the image of the
first view.
3) Slide the image of the second view image over the
top of the first using an NSTimer.
4) Switch to the second view.
Is this the usual way of doing this, or am I missing
an easier approach?
Many thanks in advance,
Keith
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden