• 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: Outline View CancelEditing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outline View CancelEditing


  • Subject: Re: Outline View CancelEditing
  • From: Graham Cox <email@hidden>
  • Date: Sat, 19 Dec 2009 01:48:58 +1100

On 19/12/2009, at 1:35 AM, Sandro Noël wrote:

> But how do I actually cancel the editing operation?

Just make the outline view itself first responder. This will validate and resign the text field if it's OK.

[[outlineView window] makeFirstResponder:outlineView];

--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: Outline View CancelEditing
      • From: Sandro Noël <email@hidden>
References: 
 >Outline View CancelEditing (From: Sandro Noël <email@hidden>)

  • Prev by Date: Outline View CancelEditing
  • Next by Date: Re: App works when launched from Xcode, not from Finder
  • Previous by thread: Outline View CancelEditing
  • Next by thread: Re: Outline View CancelEditing
  • Index(es):
    • Date
    • Thread