• 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
Custom error panels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: call selector @"mySelector"
  • Next by Date: Re: XML parser for objective C
  • Previous by thread: Re: call selector @"mySelector"
  • Next by thread: Text field drags limited to copy operations
  • Index(es):
    • Date
    • Thread