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.
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 usingdequeueCell(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