• 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: -commitEditing NSAlert not always presented as a sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -commitEditing NSAlert not always presented as a sheet


  • Subject: Re: -commitEditing NSAlert not always presented as a sheet
  • From: Keith Duncan <email@hidden>
  • Date: Wed, 24 Feb 2010 09:48:32 +0000

On 23 Feb 2010, at 18:17, Kyle Sluder wrote:

> On Tue, Feb 23, 2010 at 7:05 AM, Keith Duncan <email@hidden> wrote:
>
>> However, if I click my 'Done' button, which first attempts to -commitEditing for the hosting view controller, and will then close the hosting child window if -commitEditing returns YES; the error is presented as a floating window - this is not the desired behaviour.
>
> Have you set your view controller's nextResponder to point at something?

Yes, the responder chain from the view controller is:

-> Overview View Controller
-> Editing View Controller
-> Child Window
-> Child Window Controller
-> Parent Window Controller

I tried changing it so that the child window controller's next responder was set to the parent window instead of it's controller but that didn't work.

Keith_______________________________________________

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

References: 
 >-commitEditing NSAlert not always presented as a sheet (From: Keith Duncan <email@hidden>)
 >Re: -commitEditing NSAlert not always presented as a sheet (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Removing quit button from dock menu
  • Next by Date: Tracking NSPoint in flipped superview
  • Previous by thread: Re: -commitEditing NSAlert not always presented as a sheet
  • Next by thread: custom NSActionCell in an NSTableView that uses Cocoa Bindings
  • Index(es):
    • Date
    • Thread