Hi Friends,
i had developed the custom list view which is having NSView as a cell with
variable sizes to represent the video clips in the timeline.
and i had implemented the drag and drop for reordering functionality...
that is working as per the expectation...
but i wanted to add the animation
On Mar 6, 2013, at 10:28 PM, Muthulingam Ammaiappan muthulinga...@gmail.com
wrote:
here i am including the drag and drop code please help me how i can
implement the above mentioned animation while doing drag and drop...
This is too broad and vague. What you’re asking is something for a
Take a look at the MultiPhotoFrame sample source:
http://developer.apple.com/library/mac/#samplecode/MultiPhotoFrame/Introduc
tion/Intro.html
The dragged images are animated as they enter/exit views by tracking the
mouse using this NSDraggingSource Protocol method:
-
You mean you want the clips to move aside when you drag a clip between them?
Well, make each clip out of something that can be animated using Core Animation
(usually a view or a layer). Then just change the clips' frames and Core
Animation will do the moving for you.
Cheers,
-- Uli Kusterer
Thanks Uli,
i will try to implement as you mentioned..
Regards,
Muthu
On Fri, Mar 8, 2013 at 5:39 AM, Uli Kusterer
witness.of.teacht...@gmx.netwrote:
You mean you want the clips to move aside when you drag a clip between
them? Well, make each clip out of something that can be animated using
Hi Friends,
i had developed the custom list view which is having NSView as a cell with
variable sizes to represent the video clips in the timeline.
and i had implemented the drag and drop for reordering functionality...
that is working as per the expectation...
but i wanted to add the animation
On Mar 6, 2013, at 10:46 PM, Muthulingam Ammaiappan muthulinga...@gmail.com
wrote:
(when user drag the item if the mouse co-ords enters the in between region
then the corresponding elements will animate... and animation will end and
it comeback its original position once the mouse left the