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 (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