• 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: Catch exception in NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Catch exception in NSArrayController


  • Subject: Re: Catch exception in NSArrayController
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 17 Sep 2009 08:52:30 -0700

On Sep 17, 2009, at 8:27 AM, Konrad Windszus <email@hidden> wrote:

I am throwing it myself (or more exactly a c++ library I call within a get method of the model class). But I don't want to handle the exception in the model class, but rather in the controller, which can then disable some UI buttons.

This isn't safe. You will need to wrap that class in an Objective-C class that converts the exception into some other means of signifying to the controller layer that it should disable the UI.


--Kyle Sluder
_______________________________________________

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: 
 >Catch exception in NSArrayController (From: Konrad Windszus <email@hidden>)
 >Re: Catch exception in NSArrayController (From: "Sean McBride" <email@hidden>)
 >Re: Catch exception in NSArrayController (From: Konrad Windszus <email@hidden>)

  • Prev by Date: Re: Send POST data to browser
  • Next by Date: Re: -NSMutableIndexSet shiftIndexesStartingAtIndex:by: weirdness
  • Previous by thread: Re: Catch exception in NSArrayController
  • Next by thread: Re: Catch exception in NSArrayController
  • Index(es):
    • Date
    • Thread