4 ms·
I wonder that nobody mentioned view definition reusability which is totally lacking with storyboard UIs and one of the primary reasons why we also moved from us
by Rockslide 11y ago
I wonder that nobody mentioned view definition reusability which is totally lacking with storyboard UIs and one of the primary reasons why we also moved from using storyboards to doing everything in code with ComponentKit.
Just think about a table view cell. There is no clean way if you want to use the same custom cell layout in two different view controllers. Your only options are copy/paste or hacking around that with XIBs and additional code. Guess what, having half of your UI in code and half of it in a storyboard doesn't make maintenance easier in the long run.
This, and other problems, is perfectly solved by ComponentKit.