renamed refreshAllObjectsAsFaults to refreshAndMergeAllObjects, which is more correct

This commit is contained in:
John Rommel Estropia
2016-05-07 12:04:59 +08:00
parent 74fe81bfa7
commit b9a2f96d6e
4 changed files with 8 additions and 8 deletions

View File

@@ -191,14 +191,14 @@ public /*abstract*/ class BaseDataTransaction {
/**
Refreshes all registered objects `NSManagedObject`s in the transaction.
*/
public func refreshAllObjectsAsFaults() {
public func refreshAndMergeAllObjects() {
CoreStore.assert(
self.isRunningInAllowedQueue(),
"Attempted to refresh entities outside their designated queue."
)
self.context.refreshAllObjectsAsFaults()
self.context.refreshAndMergeAllObjects()
}