Re: Feature suggestions for easier debugging of Cocoa Bindings.
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