Re: Core Animation vs. Basic Cocoa Graphics
Re: Core Animation vs. Basic Cocoa Graphics
- Subject: Re: Core Animation vs. Basic Cocoa Graphics
- From: Thomas Engelmeier <email@hidden>
- Date: Sat, 13 Mar 2010 11:24:22 +0100
Am 12.03.2010 um 03:13 schrieb Mazen M. Abdel-Rahman:
> For the calendar grid I was creating an NSTrackingArea for each cell - in my case (the calendar is for 7 days with 15 minutes per cell) there was 672 NSTrackingAreas.
>
> I will have to look at alternative solutions to all these NSTrackingAreas to improve the performance.
Erm, you are using tracking areas to subdivide into a rectangular grid instead of
dayOfWeek = x / dayItemWidth;
selectedTime = 0.25f * ((dayHeight - y) / timeSectionHeight );
???? _______________________________________________
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