On Jan 18, 2009, at 5:13 PM, Justin Carlson wrote:
I would generally write:
- (void)setMovie:(MyMovie *)newMovie {
// make sure it is ok here
In general your accessors should not perform validation; instead you
should implement the appropriate KVV-conformant method.
<http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/Validation.html
>
mmalc
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com