AckeeCZ / ACKategories

Swift tools, cocoa subclasses and extensions.
MIT License
56 stars 13 forks source link

Prototype cells for tables and collections #78

Closed olejnjak closed 4 years ago

olejnjak commented 4 years ago

This is an idea how could we store prototype cells in cases when they are needed. My point is that every time I need to use them, I have to think where they should be stored. Usually they end up in view controller and they mess it up.

The idea is to store them in related UITableView/UICollectionView using associated objects, then we can retrieve them almost the same way as we do using dequeueCell(for:).

This PR is created as a draft to determine if we want such change and if we decide that we do, I'd love to finish #77 first.

Checklist

github-actions[bot] commented 4 years ago

@olejnjak your pull request is missing a changelog!