Re: Bindings and Setters that return a value
Re: Bindings and Setters that return a value
- Subject: Re: Bindings and Setters that return a value
- From: Shawn Erickson <email@hidden>
- Date: Wed, 9 Nov 2005 18:16:41 -0800
On Nov 9, 2005, at 5:58 PM, Dominic Feira wrote:
I have been dabbling in Bindings as I think they would be nice time
savers, however I have run into a problem. It seems that if a
setter returns anything this error is returned.
KVO autonotifying only supports -set<Key>: methods that return
void. Autonotifying will not be done for invocations of...
My setters simply return an OSStatus, which is great for error
catching, but bad for Bindings. Any suggestions?
Throwing exceptions instead of returning a value would make more
sense likely.
-Shawn
_______________________________________________
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