با برنامه Player FM !
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.
398 قسمت
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.
398 قسمت
همه قسمت ها
×به Player FM خوش آمدید!
Player FM در سراسر وب را برای یافتن پادکست های با کیفیت اسکن می کند تا همین الان لذت ببرید. این بهترین برنامه ی پادکست است که در اندروید، آیفون و وب کار می کند. ثبت نام کنید تا اشتراک های شما در بین دستگاه های مختلف همگام سازی شود.