iMovie-like sliding ready for drag
iMovie-like sliding ready for drag
- Subject: iMovie-like sliding ready for drag
- From: Keith Blount <email@hidden>
- Date: Thu, 30 Jun 2005 15:10:00 -0700 (PDT)
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