Re: Hover button and tracking area questions
Re: Hover button and tracking area questions
- Subject: Re: Hover button and tracking area questions
- From: Markus Spoettl <email@hidden>
- Date: Thu, 24 Jan 2013 14:54:32 +0100
On 1/24/13 12:06 PM, Nick Rogers wrote:
The code that I pasted was going thru change. In the original copy, I was
removing tracking area before adding the new.
So now my thinking goes that I shouldn't have added tracking areas after the
initial one, at least I am now doing that and hoping it not to crash.
I'm doing this (dynamically removing and adding tracking areas) all the time,
and while it does have drawbacks that Kyle explained, it works just fine. If
your memory management is OK, this will work. The fact that you're crashing
indicates that you're over-releasing your tracking area (or something else is).
Post your real code, we may spot something.
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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