Re: Voice Over Performance for Complex Custom View
Re: Voice Over Performance for Complex Custom View
- Subject: Re: Voice Over Performance for Complex Custom View
- From: Mike Engber <email@hidden>
- Date: Thu, 17 Sep 2009 14:44:35 -0700
On Sep 17, 2009, at 2:11 PM, James Dempsey wrote:
My question is: what does NSAccessibilityUnignoredChildren do? Does
it only
return the unignored children or it also return unignored
grandchildren? In
another word, when voice over ask for children, does it mean all the
unignored children below the current level? Or it means the unignored
children from the next level only?
NSAccessibilityUnignoredChildren is recursive. You can think of an
'ignored' element as being 'passed through'.
If you had something like:
Element A --children--> Element B (ignored) --children--> Element C
(ignored) --children--> Element D.
Then Element A would report Element D as a child.
NSAccessibilityUnignoredChildren only allocates if there are actually
ignored ui elements. E.g. if all the children are _not_ ignored it
will simply return the array it's passed.
Unless your hierarchy has a lot of ignored ui elements (which I'm
guessing it does not) I don't think you have to worry about the
overhead of NSAccessibilityUnignoredChildren.
-ME
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden