• 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
[Newbie] Creating a timeline view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Newbie] Creating a timeline view


  • Subject: [Newbie] Creating a timeline view
  • From: "Kenny Millar" <email@hidden>
  • Date: Wed, 1 Mar 2006 16:58:10 -0000
  • Organization: Kenny Millar

I'm about to start a new Cocoa app, which will be time-line based. A bit
like the timeline in FinalCut etc.
I'm pretty new to Cocoa so before I start I thought I'd seek the advice of
the list.

What would be the best way to implement a timeline view?
My app requires any number of 'tracks' in the time line, and the user can
drop things onto the tracks, then shift them left and right (backwards and
forwards in time really).

The user should be able to grab any object on any track and drag it around
both left and right along the track, and up and down tracks.

What would be the best way to handle the user interface for this type of
thing? Should I use a ListView with a subclassed CustomView in each row?
Then draw each track in a CustomView? How about the objects on the tracks,
they will not all be aligned, but none can overlap. Should I subclass
NSButton and handle the dragging by moving it within the custom view? Of
course the time line needs to be able to scroll too. (ie be wider than the
view).

I've had a read through "Introduction to Drawing and Views Programming
Topics for Cocoa" on the ADC site, but obviously it's not specific to this
idea.

Any ideas or pointers would be thankfully received.

-Kenny

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Need Help Please....Truncation Mode for Window Title
  • Next by Date: Re: NSCalendar bug with adding to pre-1919 dates?
  • Previous by thread: Re: immutable copy of NSMutableDictionary but not a deep copy
  • Next by thread: RE: [Newbie] Creating a timeline view
  • Index(es):
    • Date
    • Thread