Configurations let you focus on what you want to display without worrying about how to update all of your views.

0. Table of Content

1. Introduction

In WWDC 2020, Apple has announced a brand new API to set up and configure cells in our table and collection views (and also stack views), which they call “Modern…

“Have you ever not been able to create an object, just because you haven’t got all the parameters in hand?”

Gif by Jambonbon on Tumblr

I hope you are not hungry, because we will use hamburgers as metaphor.

Table of Contents

1. Introduction
2. Director, Builder, Product
3. When should you use it?
4. Implementation
5. Be careful when
6. Conclusion

1. Introduction

In swift, we have initializers. If we want to have an instance of an object, we create it using init function inside the struct or class.


Software Engineer. iOS. Java Backend.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store