• 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
Re: iCal-like display class (week)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iCal-like display class (week)?


  • Subject: Re: iCal-like display class (week)?
  • From: Jim Majure <email@hidden>
  • Date: Thu, 17 Dec 2009 12:05:54 -0600

Dave,

I'm trying to learn Cocoa and to do so I've been writing a time entry application. I've implemented a custom view that is quite similar to what you're talking about. It displays entries similar to iCal and allows you to click/drag to move or resize.

It currently only has a single day view, but it might be a starting point. If you're interested, I'd be happy to share the code with you.

Cheers,
Jim




On Dec 17, 2009, at 11:57 AM, David Hirsch wrote:

Does anybody know of some Cocoa classes that would allow me to mimic the week view shown by iCal? I've looked around for such a thing online without success.

Also, in case there are none out there in the wild: I'm looking for some pointers on how to implement this weekly calendar view. Here are my criteria:
- need to schedule multiple overlapping events (will distinguish by color)
- does not need to be "pretty"
- does not need arbitrary times - everything begins/ends on the hour or half-hour
- does not need drag and drop
- nothing will cross midnight (everything is limited to 0800 - 1800 hours)


I'm considering just using a TableView, with each row representing an hour or half-hour block, but then I have the problem of listing the event for each cell it occupies, which is too ugly even for me.

Thanks,
Dave


_______________________________________________

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

_______________________________________________

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: iCal-like display class (week)?
      • From: Rick Langschultz <email@hidden>
References: 
 >iCal-like display class (week)? (From: David Hirsch <email@hidden>)

  • Prev by Date: Re: NSPredicate Matches
  • Next by Date: Re: Overriding NSArrayController to be used in a many-to-many RS and NSTable Bindings
  • Previous by thread: iCal-like display class (week)?
  • Next by thread: Re: iCal-like display class (week)?
  • Index(es):
    • Date
    • Thread