allaboutapps / DataSource

Simplifies the setup of UITableView data sources using type-safe descriptors for cells and sections. Animated diffing built-in.
MIT License
74 stars 10 forks source link

Crash when using cells defined in storyboard #26

Closed fgeistert closed 4 years ago

fgeistert commented 4 years ago

When using Cells that were defined in storyboard (not in .xib or programmatically) the DataSource crashes.

We think it has to do with the DataSource trying to register the cell, even though that was already done by the storyboard.

It is likely caused by a change introduced in #24.

mbuchetics commented 4 years ago

Fix until this is resolved properly: set registerNibs to false. You will then also need to register als xibs manually.

mbuchetics commented 4 years ago

Fixed in https://github.com/allaboutapps/DataSource/releases/tag/8.0.2 and reverted the auto-registration of call cells. Only xibs and the SeparatorLineCell are registered automatically.