Factory design pattern in swift | Hindi tutorial

Описание к видео Factory design pattern in swift | Hindi tutorial

Factory design pattern is a creational design pattern and is used for the creation of objects. Factory pattern is a very basic pattern that can be used very easily but is not a silver bullet to be used everywhere.

Design patterns help us to create maintainable software with flexibility, and there are multiple design patterns to choose from but one must understand what problem they solve and why to use them.

In this session, we will discuss what are creational patterns and why we should use them along with a basic example of the factory pattern.

If you can use factory patterns in your iOS interviews then please take the opportunity and use them as it will create a good impression on the code reviewer.

Given are the chapters that are covered in today’s session

0:00 introduction
0:45 topics covered in this video
1:01 architecture vs design patterns
1:37 what are creational patterns
2:59 why to use creational patterns
4:12 advantages of creational patterns
4:46 what is the factory pattern
5:25 code review of the view model
7:02 praises for creative developers
7:18 implementing the factory pattern
9:00 how factory pattern promotes loose coupling
9:45 cleaning the code
10:45 constructor injection with factory
11:51 comparing before and after of the code
12:08 why does the factory return a protocol
13:36 drawback of the factory pattern
14:00 like share and subscribe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. 🔥🔥🔥🔥🔥

🔗Click on the link to subscribe: https://www.youtube.com/c/codecat?sub...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----------------------------------------------------------------------------------------------------------------------
📥 Download the source code from

Github: https://github.com/codecat15/Youtube-...

Google Drive: https://drive.google.com/file/d/1gVhF...
-----------------------------------------------------------------------------------------------------------------------

Given are the link discussed in the video

1. Architecture vs design pattern:    • Architecture and Design pattern in so...  
2. Open close principle:    • Open Closed Principle Swift Hindi tut...  

############################################

Connect with me on social media
Instagram:   / codecat15  
📧: [email protected]
🐦:   / codecat15  
Facebook:   / code.cat.792  
Github: https://github.com/codecat15

###########################################

#factoryPattern #designPattern #swiftHindiTutorial

Комментарии

Информация по комментариям в разработке