Custom error panels
Custom error panels
- Subject: Custom error panels
- From: Mathieu Martin <email@hidden>
- Date: Fri, 30 Sep 2005 10:15:19 -0400
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:
This email sent to email@hidden