Re: NSTrackingInVisibleRect not working when view is resized
Re: NSTrackingInVisibleRect not working when view is resized
- Subject: Re: NSTrackingInVisibleRect not working when view is resized
- From: Steve Mills <email@hidden>
- Date: Tue, 26 Feb 2013 15:45:40 -0600
On Feb 26, 2013, at 15:32:48, Kyle Sluder <email@hidden>
wrote:
> I'm not certain of the answer to this question, but what does your
> -updateTrackingAreas look like? If you follow Apple's erroneous example
> and recreate your tracking are every time this method is called, you
> *will* drop -mouseExited: events on the floor. A correct override of
> -updateTrackingAreas only creates and installs the tracking area if it
> has not already been created and installed.
I don't *have* an updateTrackingAreas method because I'm using NSTrackingInVisibleRect, which is documented to always use the visibleRect of the view.
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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