Factory method pattern || Design Pattern in iOS
Вставка
- Опубліковано 6 січ 2023
- #appdeveloperpoint
For any queries , feel free to join the discord community.
/ discord
Follow us on:
UA-cam - ua-cam.com/users/AppDevelope...
Github - github.com/nileshcse14/Youtub...
Facebook - / iostpoint
Twitter - / iostpointblog
Website - www.iostpoint.com/
Linkedin - / iostpoint
Instagram - / iostpointblog
Interview series - • iOS Interview question...
SwiftUIPlaylist - • ScrollViewReader in S...
iOS Concurrency - • Dispatch Queue Main As...
iOS Coding Challenges - • Capturing Closures || ...
iOS App architecture - • Singleton in iOS || Th...
What’s the reason to use class? Can be used struct instead? It’s better for a factory to have static methods? Thanks!
Thanks for watching... Yes we can have struct as well... It all depends on how you implement it... Factory design pattern doesn't restricts you from not having static methods.. It's just different way of implementing it. The same I told in video as well.
Thanks for the great video Nilesh.Easy to understand examples. 😊😊
I am sorry this is bookish example. Give some industrial examples
Thanks for watching... There is real time example at the end of the video...