• 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: Feature suggestions for easier debugging of Cocoa Bindings.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature suggestions for easier debugging of Cocoa Bindings.


  • Subject: Re: Feature suggestions for easier debugging of Cocoa Bindings.
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 19 Apr 2005 19:36:09 -0700


On Apr 19, 2005, at 7:02 PM, Jeff Laing wrote:

    If your data model was of the form "blah can have foo", then,
sure, being able to specify what happens when your model object does
not have the foo property is required.

You should implement suitable validation methods.  See for example:
     <http://developer.apple.com/documentation/Cocoa/Conceptual/
KeyValueCoding/Concepts/Validation.html>


I think the original point here was that its really easy to get the
application built without resorting to code, but its extremely difficult to
debug when you get things wrong.


Suggesting that you make the application more debuggable by writing more
code sort of misses the point of the original request, that the Interface
Builder side allow these sorts of common errors to be trapped without code.



My understanding of the latter part of the post was that he wanted to ensure data integrity, and that's precisely what the validation methods do...


mmalc

_______________________________________________
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


References: 
 >RE: Feature suggestions for easier debugging of Cocoa Bindings. (From: Jeff Laing <email@hidden>)

  • Prev by Date: NSTextView/NSScrollView question (newbie)
  • Next by Date: Re: NSTextView/NSScrollView question (newbie)
  • Previous by thread: RE: Feature suggestions for easier debugging of Cocoa Bindings.
  • Next by thread: RE: Feature suggestions for easier debugging of Cocoa Bindings.
  • Index(es):
    • Date
    • Thread