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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/jim.majure%40mac.com

This email sent to jim.maj...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to