mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-13 23:23:29 +01:00
SectionIndexTitles not working after refetch #182
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zalogatomek on GitHub (Oct 26, 2017).
So, let me use your CoreStoreDemo app.
I've added this simple function:
to
ListObserverDemoViewController.At start,
sectionIndexTitlesworks as expected (I can see them). But when I tap onfilterBarButtonItemsectionIndexTitlesdissapears.I've tested it on version 4.2.1.
@JohnEstropia commented on GitHub (Oct 27, 2017):
Thanks for the report!
I think this is because indexes are cached during FRC's fetch, which on ListMonitor.refetch() happens before the SectionBy is applied. I'll need to think how to handle this because the SectionBy closure may need to run on a background thread.