Re: Working with NSTextFields
Re: Working with NSTextFields
- Subject: Re: Working with NSTextFields
- From: Quincey Morris <email@hidden>
- Date: Sat, 19 Sep 2015 01:24:12 +0000
On Sep 18, 2015, at 16:46 , Alex Hall <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden