On Sep 18, 2015, at 16:46 , Alex Hall <mehg...@icloud.com> wrote:
> 
>               myField.accessibilityHelp="new help message"
> 

Well, it’s a fascinating problem. I can see what’s wrong, but I don’t know why.

For some reason, the “accessibilityHelp” property, declared in the 
NSAccessibility protocol, is being bridged into Swift as a function (well, 2 
functions, a getter-alike and a setter-alike), rather than a Swift property. 
The following syntax compiles:

        myField.setAccessibilityHelp (“new help message")

though I have no quick way of verifying that it’s doing the right thing at 
run-time. AFAICT this has nothing to do with the text field being an outlet.

You should submit a bug report.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to