Re: Hover button and tracking area questions
Re: Hover button and tracking area questions
- Subject: Re: Hover button and tracking area questions
- From: Nick Rogers <email@hidden>
- Date: Thu, 24 Jan 2013 16:36:39 +0530
Hi,
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.
The exception was:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Any ideas?
Thanks,
Nick
On 24-Jan-2013, at 2:18 PM, Kyle Sluder <email@hidden> wrote:
> On Jan 24, 2013, at 12:30 AM, Kyle Sluder <email@hidden> wrote:
>
>>
>> But considering that the API is intended to be used to create and
>> install tracking areas on objects that are potentially different from
>> their "owner", it seems sensible that -addTrackingArea: might not retain
>> the tracking area.
>
> I did some snooping, and it's apparently stuffing the tracking areas into a standard NSArray. In fact, I believe it's the same array we see being copied in Nick's stack trace. So there goes that theory.
>
> --Kyle Sluder
>
> _______________________________________________
>
> 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
_______________________________________________
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