• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Working with NSTextFields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Working with NSTextFields
      • From: Alex Hall <email@hidden>
References: 
 >Working with NSTextFields (From: Alex Hall <email@hidden>)
 >Re: Working with NSTextFields (From: Jens Alfke <email@hidden>)
 >Re: Working with NSTextFields (From: Alex Hall <email@hidden>)

  • Prev by Date: Re: Working with NSTextFields
  • Next by Date: Re: Identifying a specific Mac model
  • Previous by thread: Re: Working with NSTextFields
  • Next by thread: Re: Working with NSTextFields
  • Index(es):
    • Date
    • Thread