• 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
Bindings and Setters that return a value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings and Setters that return a value


  • Subject: Bindings and Setters that return a value
  • From: Dominic Feira <email@hidden>
  • Date: Wed, 9 Nov 2005 20:58:35 -0500

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?

Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
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


  • Follow-Ups:
    • Re: Bindings and Setters that return a value
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Custom NSView and NSUndoManager
  • Next by Date: Re: Custom NSView and NSUndoManager
  • Previous by thread: Re: Re: Custom NSView and NSUndoManager
  • Next by thread: Re: Bindings and Setters that return a value
  • Index(es):
    • Date
    • Thread