mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-19 07:08:31 +01:00
WIP: readme
This commit is contained in:
1 parent
feb0e30735
commit
91fda01071
61 files changed
+1666
-1017
No files matched your search
@@ -33,7 +33,7 @@ import CoreData
|
||||
Implement the `ListObserver` protocol to observe changes to a list of `NSManagedObject`s. `ListObserver`s may register themselves to a `ListMonitor`'s `addObserver(_:)` method:
|
||||
```
|
||||
let monitor = CoreStore.monitorList(
|
||||
From<MyPersonEntity>(),
|
||||
From<Person>(),
|
||||
OrderBy(.ascending("lastName"))
|
||||
)
|
||||
monitor.addObserver(self)
|
||||
|
||||
Reference in new issue
Block a user