Re: iMovie-like sliding ready for drag
Re: iMovie-like sliding ready for drag
- Subject: Re: iMovie-like sliding ready for drag
- From: Keith Blount <email@hidden>
- Date: Fri, 1 Jul 2005 12:48:26 -0700 (PDT)
I didn't think I'd get much response to this given
that it's a FUQ (Frequently Unanswered Question). :) I
am thinking of giving up on this for now as it is
really just eye-candy when I should be concentrating
on functionality at this stage, but if anyone does
have any pointers, I would be really grateful. For
instance, I don't even know whether I would have to
dig into Quartz etc to achieve this, or whether I
would just set up a timer to increment the placement
of the image of the "card" over a few seconds (but
then, wouldn't this result in the spinning beach ball
as the single-thread locks up in animation?).
Any help much appreciated (but maybe I should put this
on my future list),
All the best,
Keith
--- ORIGINAL MESSAGE ---
Hello,
Having searched the archives, Cocoadev and Google, I
know that this is a question that has been frequently
asked, but I have yet to find an answer.
I have a storyboard view that contains a row of
"cards", much like the clip tray in iMovie. Like in
iMovie, whenever the user drags a card between two
other cards, I would like the cards to slide apart to
allow room for the one that is being dropped.
Does anybody have any ideas on what the best approach
to this would be? Do I need to explore NSAnimation, or
can I set up a simple timer and just keep redrawing in
drawRect: as soon as my view detects a potential mouse
operation? I think my problem is that I don't know
where to look - I've never handled any kind of
animation in Cocoa before, so just some pointers would
be really appreciated.
Many thanks in advance,
Keith
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.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:
This email sent to email@hidden