mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-01 07:03:06 +02:00
Merge pull request #510 from DavidTiimo/develop
issue #509 | Xcode 16.0 beta 6 error - "'CATransaction' is unavailable in watchOS"
This commit is contained in:
@@ -106,7 +106,11 @@ extension Internals {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if canImport(QuartzCore)
|
#if os(watchOS)
|
||||||
|
|
||||||
|
performDiffingUpdates()
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
CATransaction.begin()
|
CATransaction.begin()
|
||||||
|
|
||||||
@@ -118,10 +122,6 @@ extension Internals {
|
|||||||
|
|
||||||
CATransaction.commit()
|
CATransaction.commit()
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
performDiffingUpdates()
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user