• 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: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet


  • Subject: Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
  • From: Keary Suska <email@hidden>
  • Date: Thu, 17 Jan 2008 12:02:49 -0700
  • Thread-topic: Starting an alert sheet from an NSWindowController that owns a user-editable sheet

on 1/17/08 10:56 AM, email@hidden purportedly said:

> Any ideas how I can do this from within the NSWindowController
> subclass, as this seems like it would be the appropriate place to
> handle all my errors as all the ivars (like the one that holds the
> directory name that the user is trying to create) are within the
> controller class already because they are used by the sheet.

Have your NSWindowController be the delegate of the error alert sheet. In
the delegate method, order out the error and start the original sheet again.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: 
 >Starting an alert sheet from an NSWindowController that owns a user-editable sheet (From: Jonathan Dann <email@hidden>)

  • Prev by Date: Re: Outline view selection doesn't move when items are inserted?
  • Next by Date: Re: new API for MacBook Air for Multi-touch trackpad?
  • Previous by thread: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
  • Next by thread: Re: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
  • Index(es):
    • Date
    • Thread