Skip to content
This repository was archived by the owner on Oct 31, 2019. It is now read-only.
This repository was archived by the owner on Oct 31, 2019. It is now read-only.

Can't compliant with CoreData + NSFetchedResultsController? #43

@seedante

Description

@seedante

Hi, luke,
Thanks for your code. I get a problem when use CoreData + NSFetchedResultsController as data source instead of NSArray. I use the code:https://github.com/AshFurrow/UICollectionView-NSFetchedResultsController to make UICollectionView works with NSFetchedResultsController just like UITableView together with NSFetchedResultsController.
2014-07-14 7 24 48
2014-07-14 7 53 30

in NSFetchedResultsController, I use alphabeticPart and orderPart to sort cell, and use alphabeticPart as sectionNameKeyPath, make all same with before, just I use orderPart to sort cell in the section.
2014-07-14 7 57 26
but I drag and drop cell in the same section, i.e move B3 to B2, it likes this. Only after I [self.collection reloadData], it looks right. And I move cell to another section, it crashes. This is maybe layout information error. Now I just want to work out with first problem:after move a cell in the same section, onsreen get the same cell.
2014-07-14 7 59 35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions