Model Object Validation
Model Object Validation
- Subject: Model Object Validation
- From: Chris Idou <email@hidden>
- Date: Wed, 20 Aug 2008 21:37:23 -0700 (PDT)
I have a validation method on my object, managed by a NSObjectController.
If I try and tab out of a field that is invalid I get a warning sheet - great.
But if I just hit command-S to save, there is no message.
I could of course tediously call every single validation method in my NSDocument's save method, but is there a more correct way? I've got "continuously updates" and "validates immediately" turned on.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden