• 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: return press and edit text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: return press and edit text


  • Subject: Re: return press and edit text
  • From: "J.E. Schotsman" <email@hidden>
  • Date: Thu, 01 Dec 2016 19:19:02 +0100

> On 30 Nov 2016, at 22:04, Quincey Morris wrote:
>
> The problem is that NSWindowController doesn’t implement the other informal protocol (NSEditorRegistration) that is the way that editors are supposed to be kept track of. The easiest way to get around this is for your OK button action to invoke “commitEditing” on the text field.

Except it’s called   endEditing(_:)

Jan E.

_______________________________________________

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


  • Prev by Date: Re: Where are the gears?
  • Next by Date: Re: Vertically Centered Colon
  • Previous by thread: Re: Where are the gears?
  • Next by thread: Accessing the bundle of the call-site
  • Index(es):
    • Date
    • Thread