Re: Working with NSTextFields
Re: Working with NSTextFields
- Subject: Re: Working with NSTextFields
- From: Quincey Morris <email@hidden>
- Date: Wed, 16 Sep 2015 01:04:02 +0000
On Sep 15, 2015, at 17:29 , Alex Hall <email@hidden> wrote:
>
> I figured text fields were for editing text, and text views were for displaying it.
In fact, text views are the views (as in “NSView", not as in “viewer”) that codify *all* of the Cocoa text editing functionality. Text fields are NSControl wrappers around text views. The TextEdit utility is an app wrapper around a text view.
> My only remaining wonder is about setting the accessibilityHelp property, which is giving me the same error it always has: self is immutable.
You’re going to have to post a few text fragments to show what’s going on, that show how the variables are declared. Context is important here.
Keep in mind that with Swift, the error that’s reported is still sometimes a secondary error. What it says may not be a good clue to what’s wrong.
_______________________________________________
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