Subscribe to
NSLog(); Header Image

Trimming UI Further Developed

New UI

As a quick follow-up to yesterday's post, current plans are:

"Plan B" (Highly likely this is actually Plan A):

  1. Subclass NSSlider to add a second slider. (Alternative: create our own view rather than subclassing - not sure how difficult this is…)
  2. The sliders shouldn't be able to overlap. That'll enforce a "minimum" length, which is fine. Area outside of sliders shows as dark red.
  3. Dialog asks when the user clicks 'Trim Video…': "Are you sure you want to trim? The original video will be replaced by the trimmed video." Buttons are "Trim" and "Cancel"

The "Trim video" button should be disabled when the sliders are at the end positions.

Thoughts are welcome and appreciated. Have you seen a UI that has two sliders, or done it yourself, or know of a library or sample code? No sense re-making the wheel.

2 Responses to "Trimming UI Further Developed"

  1. I have been using (and rather like the UI) in MPEG Streamclip. It may be of some use to you.

  2. Here's a slider with two knobs:

    I've never used it ... it's just what turned up in a google search.