• 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
Re: Sliding views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sliding views


  • Subject: Re: Sliding views
  • From: John Randolph <email@hidden>
  • Date: Mon, 2 Feb 2004 14:10:34 -0800

On Feb 1, 2004, at 10:11 AM, Peter Jaros wrote:

I've got a row of views I'd like to slide around during a drag-and-drop operation, ` la toolbar icons or Safari's Bookmark Bar buttons. Is there any sample code available for this? Or does anyone know the basic mathematical principles used to dictate the sliding behavior?

If you look at the "Animated Slider" sample at

http://developer.apple.com/samplecode/Sample_Code/Cocoa/ AnimatedSlider.htm

You'll see one implementation of an ease in/ease out function. Michael Johnson at Pixar pointed me to a web page some time ago that had a bunch of different kinds of motion simulation functions, but I'm afraid I have no idea where it was..

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Sliding views (From: Peter Jaros <email@hidden>)

  • Prev by Date: Re: Packager
  • Next by Date: WebKit eating <SCRIPT language="XML"> goodness
  • Previous by thread: Sliding views
  • Next by thread: Re: Dragging Image
  • Index(es):
    • Date
    • Thread