WIP: the great renaming

This commit is contained in:
John Rommel Estropia
2016-07-21 23:12:24 +09:00
parent 872e69ddc6
commit 2f39f9188b
14 changed files with 68 additions and 60 deletions

View File

@@ -53,6 +53,7 @@ public extension DataStack {
- parameter closure: the block where creates, updates, and deletes can be made to the transaction. Transaction blocks are executed serially in a background queue, and all changes are made from a concurrent `NSManagedObjectContext`.
- returns: a `SaveResult` value indicating success or failure, or `nil` if the transaction was not comitted synchronously
*/
@discardableResult
public func beginSynchronous(_ closure: (transaction: SynchronousDataTransaction) -> Void) -> SaveResult? {
return SynchronousDataTransaction(