Re: Setting AXDescription from a nib
Re: Setting AXDescription from a nib
- Subject: Re: Setting AXDescription from a nib
- From: Avi Drissman <email@hidden>
- Date: Wed, 23 Dec 2009 00:15:57 -0500
OK, but I need to know the old value. It's a token that I run through my strings table to get the new value to set (so we only need one nib). If I can't retrieve the value I'm really stuck.
Avi
On Tue, Dec 22, 2009 at 6:41 PM, Mike Engber
<email@hidden> wrote:
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