Re: customizing save behavior in doc based apps
Re: customizing save behavior in doc based apps
- Subject: Re: customizing save behavior in doc based apps
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 26 Dec 2005 18:54:59 -0800
On Dec 26, 2005, at 6:17 PM, email@hidden wrote:
[[self managedObjectContext] save:NULL];
You shouldn't do this (not check the return value from save: and
dispose of the error). You need to check that there was no error on
saving. First there's a chance you may not be able to individually
validate every attribute in the user interface, second there may be
inter-attribute constraints or relationship constraints that you
don't capture before a save operation.
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