Search code examples
macosappkit

What AppKit controls / components were used to create the iMovie/FCP timeline scrubber?


I am interested in creating a video editor similar to iMovie on macOS. The scrubber is an interesting component, and I am wondering if anyone knows what control is used to create it.

My personal guess is that it is NSCollectionView.

NSCollectionView?


Solution

  • It is a custom view. It is a subclass of TLKTimelineView called CETimelineView that is embedded in a custom scroll view called LKScrollView. This makes sense as the video has to be in sync with the timeline, audio and video. Would require a highly optimized control. You can debug the view in xCode.

    iMovie debugged in xCode