Thread-topic: Starting an alert sheet from an NSWindowController that owns a user-editable sheet
User-agent: Microsoft-Entourage/11.3.6.070618
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden