• 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
NSTableView animation parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView animation parameters


  • Subject: NSTableView animation parameters
  • From: Graham Cox <email@hidden>
  • Date: Wed, 21 Nov 2012 19:21:55 +1100

Hi all,

I'm using [NSTableView moveRowAtIndex:toIndex:] to show an animation for a row reordering on drag/drop. These rows control the ordering of a stack of adjacent views which are also animated by using [[view animator] setFrame:<>]; The idea is to make it seem that the table rows and the stack of views are in effect all tied together (these views can't be part of the table themselves because they need to scroll horizontally independently and also scale, etc).

The animations are similar but not identical which is not quite as visually slick as it could be. I'm trying to modify the view animation by implementing -animationForKey: in the moved view and changing the animation parameters. It helps, but I'm still not quite there yet. Does anyone know what the table view row animation parameters are (or can think of a way I can find them out) so that I can make the two act together? I probably only need to know the overall time and the timeFunction.

--Graham



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTableView animation parameters
      • From: Graham Cox <email@hidden>
    • Re: NSTableView animation parameters
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: enhancing NSTextView for optionally-hidden text
  • Next by Date: Re: NSTableView animation parameters
  • Previous by thread: Can't seem to present modal storyboard scene
  • Next by thread: Re: NSTableView animation parameters
  • Index(es):
    • Date
    • Thread