Siirry offline-tilaan Player FM avulla!
How to Create Scrollable Lists with Protocol-Oriented Design & UICollectionViewCompositionalLayout
Manage episode 424458653 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/how-to-create-scrollable-lists-with-protocol-oriented-design-and-uicollectionviewcompositionallayout.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #swift-programming, #ios-app-development, #ios-development, #protocol-oriented-programming, #scaling-large-codebases, #uicollectionviewflowlayout, #uicollectionview-abstraction, #hackernoon-top-story, and more.
This story was written by: @bugorbn. Learn more about this writer by checking @bugorbn's about page, and for more stories, please visit hackernoon.com.
The motivation for this approach is very simple, we want to reduce the amount of boilerplate code by creating universal tools. We will solve this problem in 4 stages. Writing an abstraction of the data type of scrolling elements; writing a base class for scrollable elements; Writing an Implementation for Lists; and Writing an implementation for Lists.
469 jaksoa
Manage episode 424458653 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/how-to-create-scrollable-lists-with-protocol-oriented-design-and-uicollectionviewcompositionallayout.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #swift-programming, #ios-app-development, #ios-development, #protocol-oriented-programming, #scaling-large-codebases, #uicollectionviewflowlayout, #uicollectionview-abstraction, #hackernoon-top-story, and more.
This story was written by: @bugorbn. Learn more about this writer by checking @bugorbn's about page, and for more stories, please visit hackernoon.com.
The motivation for this approach is very simple, we want to reduce the amount of boilerplate code by creating universal tools. We will solve this problem in 4 stages. Writing an abstraction of the data type of scrolling elements; writing a base class for scrollable elements; Writing an Implementation for Lists; and Writing an implementation for Lists.
469 jaksoa
Semua episod
×Tervetuloa Player FM:n!
Player FM skannaa verkkoa löytääkseen korkealaatuisia podcasteja, joista voit nauttia juuri nyt. Se on paras podcast-sovellus ja toimii Androidilla, iPhonela, ja verkossa. Rekisteröidy sykronoidaksesi tilaukset laitteiden välillä.