3lvis / DATASource

Core Data's NSFetchedResultsController wrapper for UITableView and UICollectionView
Other
106 stars 27 forks source link

Assertion failure in -[UITableView _endCellAnimationsWithContext #96

Closed kermankohli closed 7 years ago

kermankohli commented 7 years ago

Firstly, thank you so much for this library! I've been messing with NSFetchedResultsController + Sections for days now and this just solved all my problems - except one... For some reason I can't get a custom UITableViewCell cell subclass (in Storyboards) to work with this library.

Any help would be much appreciated. Thanks in advance!

3lvis commented 7 years ago

Hi @kermankohli,

Did you close this because you found a way to do it?

kermankohli commented 7 years ago

Yeah, it was just the section index title’s that made it look like it was screwing around with the table view. Although, I think I’ve found a bug with the sections...

On Wed, Dec 7, 2016 at 10:08 PM, Elvis Nuñez notifications@github.com wrote: Hi @kermankohli [https://github.com/kermankohli] ,

Did you close this because you found a way to do it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [https://github.com/SyncDB/DATASource/issues/96#issuecomment-265394131] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AB9LcS3JKwaqLDtQP6zZGRR0Yrdhcgx-ks5rFneTgaJpZM4LGQjZ] .

3lvis commented 7 years ago

Let me know if you have something I can reproduce 😁 ❤️

kermankohli commented 7 years ago

Okay so basically this is the best description I can give of the issue in order to reproduce it

  1. Object A and object B belong in section X.
  2. One of object B's property is changed causing it to be removed from section X and form section Y.
  3. Object B now changes the property back so it belongs to section X. However, object B doesn't move to section X and instead remains in section Y triggering (Assertion failure in -[UITableView _endCellAnimationsWithContext:)
3lvis commented 7 years ago

@kermankohli Thanks Kerman!

I'll try to reproduce it when I get some time.

kermankohli commented 7 years ago

@3lvis No worries! If you want I can give you the source code of the project since it's not very large and I've been desperately trying to get this to work ahaha.

kermankohli commented 7 years ago

Do you have a Google-linked email address? I’ll need to add you to the project so you can change the property on the backend

On Wed, Dec 7, 2016 at 10:25 PM, Elvis Nuñez notifications@github.com wrote: @kermankohli [https://github.com/kermankohli] please do! Try elvisnunez+github@me.com [elvisnunez+github@me.com]

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [https://github.com/SyncDB/DATASource/issues/96#issuecomment-265397770] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AB9Lcb1c3NmtEXErDim0Dbe7qSyZ1DN4ks5rFnumgaJpZM4LGQjZ] .

3lvis commented 7 years ago

@kermankohli let's try in https://gitter.im/SyncDB/DATASource

kermankohli commented 7 years ago

Sure. I’ve just joined the room.

On Wed, Dec 7, 2016 at 10:37 PM, Elvis Nuñez notifications@github.com wrote: @kermankohli [https://github.com/kermankohli] let's try in https://gitter.im/SyncDB/DATASource [https://gitter.im/SyncDB/DATASource]

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [https://github.com/SyncDB/DATASource/issues/96#issuecomment-265400375] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AB9LcVA47kyp80dfyykXicCBwdcqPvPUks5rFn5pgaJpZM4LGQjZ] .

3lvis commented 7 years ago

Doing some spring cleaning, please make a new issue if you still want to do this.