• 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: Set editable string into NSTextFieldCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set editable string into NSTextFieldCell


  • Subject: Re: Set editable string into NSTextFieldCell
  • From: Graham Cox <email@hidden>
  • Date: Thu, 12 Nov 2015 09:58:11 +1100

> On 12 Nov 2015, at 9:52 AM, Raglan T. Tiger <email@hidden> wrote:
>
> How do I put the current string from the item into the edit field ?
>

If you have implemented the dataSource protocol, the value of the text field should be already set. When you start editing, that value is automatically copied into the editor, you don’t have to do anything.

If it’s not working, you might have done something elsewhere that is preventing it working as it should.

—Graham



_______________________________________________

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: Set editable string into NSTextFieldCell
      • From: "Raglan T. Tiger" <email@hidden>
References: 
 >Set editable string into NSTextFieldCell (From: "Raglan T. Tiger" <email@hidden>)
 >Re: Set editable string into NSTextFieldCell (From: Graham Cox <email@hidden>)
 >Re: Set editable string into NSTextFieldCell (From: "Raglan T. Tiger" <email@hidden>)

  • Prev by Date: Re: Set editable string into NSTextFieldCell
  • Next by Date: Detecting when a text view becomes First Responder
  • Previous by thread: Re: Set editable string into NSTextFieldCell
  • Next by thread: Re: Set editable string into NSTextFieldCell
  • Index(es):
    • Date
    • Thread