mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-18 14:48:28 +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
|
||||
The `SectionBy` clause indicates the key path to use to group the `ListMonitor` objects into sections. An optional closure can also be provided to transform the value into an appropriate section name:
|
||||
```
|
||||
let monitor = CoreStore.monitorSectionedList(
|
||||
From<MyPersonEntity>(),
|
||||
From<Person>(),
|
||||
SectionBy("age") { "Age \($0)" },
|
||||
OrderBy(.ascending("lastName"))
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user