Hi All,

I was able to write a simple calendar view that uses basic cocoa graphics to 
draw directly on the view (NSBezierPath, etc.).  I actually use several 
different paths for drawing the calendar (it's a weekly calendar) to allow 
different horizontal line widths (hour, half hour, etc.).  The calendar view is 
inside a scroll view - and is actually about 3 times longer than the view 
window.   The main problem is that the scrolling is not smooth - and my 
assumption is that it's because the NSBezier stroke functions  have to be 
constantly called to render the calendar.

For something as relatively simple as this would moving to core animation - 
i.e. trying to render the calendar on a layer instead (I am still trying to 
learn core animation) add performance benefits?  And would it allow for 
smoother scrolling?

Thanks,
Mazen Abdel-Rahman
_______________________________________________

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