• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iMovie-like sliding ready for drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Questions-fest
  • Next by Date: Parsing string to key=>val pairs
  • Previous by thread: [Moderator] End Of Thread (Re: OT How do you promote your software)
  • Next by thread: Parsing string to key=>val pairs
  • Index(es):
    • Date
    • Thread