Re: Updating tracking areas Rect
Re: Updating tracking areas Rect
- Subject: Re: Updating tracking areas Rect
- From: Gustavo Pizano <email@hidden>
- Date: Tue, 29 Dec 2009 09:37:46 +0100
Yes, the view is the only one adding the TA, when I resize the view by dragging, as far as I understand, the updateTrackingAreas method its called, so I overwrote that method deleting the old ones and calculating the new ones. Maybe what graham says must be done, copy the collection and iterate that but delete the "right one"
Im gonna give it a try , 'ill let you know.
On Dec 29, 2009, at 4:36 AM, Joar Wingfors wrote:
>
> On 28 dec 2009, at 09.22, Gustavo Pizano wrote:
>
>> I cant use the last option because it may happen that I will have not just 2 TA but N..
>
>
> Perhaps you should still maintain your own array of tracking areas? I'm not sure if anyone else should ever add tracking areas to your view, but it might still be better to make sure that you're only removing the tracking areas that you're sure that you added.
>
> j o a r
>
>
_______________________________________________
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