Re: Question about UIElementRefs
Re: Question about UIElementRefs
- Subject: Re: Question about UIElementRefs
- From: Andrew Taylor <email@hidden>
- Date: Wed, 26 Nov 2003 13:35:15 -0500
At 1:02 PM -0500 11/26/03, Bill Cheeseman wrote:
on 2003-11-26 12:15 PM, Bill Cheeseman at email@hidden wrote:
I discussed this issue at length with the Apple engineers about a year ago.
The consensus was that the only safe way to handle this issue is to register
for the element-destroyed notification for every UIElementRef you create. I
do this in PreFab UI Browser, and it works like a charm.
I read your post a little too quickly. The Apple engineers also told me that
CFEqual should always work, even on destroyed elements.
Well, I guess I have some code review to do. It might be that a year
ago CFEqual worked on destroyed elements, but I wonder if it is true
today. I suspect the "proper" solution is to make sure I am not
working with destroyed elements to begin with.
thanks.
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.