Unable to set accessibility hint for NSTextField
Unable to set accessibility hint for NSTextField
- Subject: Unable to set accessibility hint for NSTextField
- From: Alex Hall <email@hidden>
- Date: Mon, 07 Sep 2015 13:30:12 -0400
Hello all,
I'm trying to change the hint of a text field in code, because it will differ during runtime from what I set in IB. I'm doing this:
myTextField.accessibilityHint="new hint text"
I'm getting an error, though, that "value of type NSTextField has no member accessibilityHint". Yet, cmd-ctrl-j on the word "accessibilityHint" jumps right to it, but in UIAccessibility.h, which makes no sense at all. How do I update the hint, label, or other accessibility attributes for standard controls on OS X? Thank you in advance.
--
Have a great day,
Alex Hall
email@hidden
_______________________________________________
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