Re: Setting AXDescription from a nib
Re: Setting AXDescription from a nib
- Subject: Re: Setting AXDescription from a nib
- From: Mike Engber <email@hidden>
- Date: Tue, 22 Dec 2009 15:41:36 -0800
On Dec 22, 2009, at 1:44 PM, Avi Drissman wrote:
Ugh. But if I mouse over it, Accessibility Inspector shows me the
value I set from the nib and can't access from the code.
Where does that value live? How can I get at it from the code? I
feel like I'm missing something fundamental here.
IB is using:
- (BOOL)accessibilitySetOverrideValue:(id)value forAttribute:(NSString
*)attribute;
Attributes created/modified this way are sort of snuck in and are only
available through the AX calls - i.e. the API used by assistive apps.
If you need to modify the value programatically, you can call
accessibilitySetOverrideValue.
-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