Commit 1367b35b authored by 井庆林's avatar 井庆林

code review

parent 7e9ee617
......@@ -126,7 +126,7 @@ static dispatch_semaphore_t phobos_semaphore_t;
* 在保存完成后调用的完成块。如果发生错误,块将以“BOOL”和“NSError”实例的形式传递成功状态。总是在主队列上调用。
*/
+ (void)saveWithCompletion:(MRSaveCompletionHandler)completion {
[PhobosDefaultContext MR_saveWithOptions:MRSaveSynchronously completion:completion];
[PhobosDefaultContext MR_saveOnlySelfWithCompletion:completion];
}
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment