Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom error panels



Hello,

I'd like to use some custom error panels with options for the recovery.
I override

- (void)presentError:(NSError *)error modalForWindow:(NSWindow *) window delegate:(id)delegate didPresentSelector:(SEL) didPresentSelector contextInfo:(void *)contextInfo{

the documentation says I should not do that but I don't see ant other way to do that. My problem here is to use NSError recovery protocol but it seams to only use the code of the button you use to dismiss the sheet window presenting the error. I might have more than two or three options for the recovery so I want to add a NSComboBox in my error panel and use its state to do the recovery.
I forgot to mention that the error is raised in validation code of a core data class.
If someone have any idea to do that ?


regards mat.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.