This commit is contained in:
John Rommel Estropia
2015-05-04 12:40:16 +09:00
parent b56c08abd9
commit d043d64cb1
41 changed files with 1583 additions and 214 deletions

View File

@@ -38,13 +38,18 @@ internal extension NSManagedObjectContext {
get {
return self.getAssociatedObjectForKey(&PropertyKeys.parentTransaction)
return getAssociatedObjectForKey(
&PropertyKeys.parentTransaction,
inObject: self
)
}
set {
self.setAssociatedWeakObject(
setAssociatedWeakObject(
newValue,
forKey: &PropertyKeys.parentTransaction)
forKey: &PropertyKeys.parentTransaction,
inObject: self
)
}
}