Тёмный

Factory Design Pattern in Swift & iOS (2023) 

iOS Academy
Подписаться 115 тыс.
Просмотров 9 тыс.
50% 1

In this video we will explore the factory design pattern for iOS development using Swift. Specifically we will focus on exemplifying the pattern with a screen factory object. The factory pattern is a common architectural pattern used in scalable large scale iOS projects and applications. It is common in industry and essential to master.
FREE 3-DAY CRASH COURSE FROM ESSENTIAL DEVELOPER:
essentialdeveloper.com/afraz
💻 Source Code: / iosacademy
🎥 Subscribe for more: ru-vid.com?su...
😎 Like my teaching style? Check out some of my most popular courses! courses.iosacademy.io
👉🏼 Connect (personal LinkedIn) / afrazsiddiqui
🚀 Follow on LinkedIn / ios-academy
** Popular Series
Building Instagram: courses.iosacademy.io/p/build...
Building TikTok: / @iosacademy
SwiftUI for Beginners: ios-academy.teachable.com/p/s...
** Get Skillshare free for 2 Months and learn iOS
www.skillshare.com/r/user/afraz
** Manage all your investments from app earnings on Betterment!
bit.ly/3eBwlI9
** Grow your own RU-vid tech channel with TubeBuddy:
www.tubebuddy.com/iosacademy
#swift #architecture #iosdeveloper

Опубликовано:

 

15 янв 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@micahburnside2281
@micahburnside2281 20 дней назад
Its better not not have any mistakes so that the person coding along with you doesn’t get told the wrong information while they are learning.
@emiralkal4548
@emiralkal4548 Год назад
is this design pattern same with builder pattern? Or they are something different?
@gijoecodes
@gijoecodes Год назад
Very interesting. First time I’ve heard of it. Normally if I have repetitive code I create an extension of a particular class. This looks so much better. Perhaps I’ll try to incorporate this into my apps. Incidentally, when my simulator stops working. I just quit the app and it gets fixed. For me erasing it means that I would have to log back in.
@iOSAcademy
@iOSAcademy Год назад
Nice
@victorriurean
@victorriurean Год назад
cool
@iOSAcademy
@iOSAcademy Год назад
Thx
@GleiksonAri
@GleiksonAri Год назад
Can this Designer Pattern be used in projects with any architecture (VIPER, MVC, MVVM)?
@3366Har
@3366Har Год назад
Конечно, можно. Одно другому не мешает
@iOSAcademy
@iOSAcademy Год назад
Yes, absolutely
@ConernicusRex
@ConernicusRex Год назад
All architectures are made up of various design patterns. you can use any you'd like they simply may not be best for the job.
@dartdragoon5929
@dartdragoon5929 Год назад
Thanks for the explanation! It's the factory the same as a mapper then?
@iOSAcademy
@iOSAcademy Год назад
They are similar
@jsedlacekjr
@jsedlacekjr Год назад
We use this pattern + coordinators where I work at
@iOSAcademy
@iOSAcademy Год назад
Nice
@TheSukhreetSingh
@TheSukhreetSingh Год назад
Can you give us some examples of what you use factories for in real apps.
@rev_kous9275
@rev_kous9275 Год назад
I'm waiting for Clean Architecture implementation in iOS (UIKit/Swift).
@iOSAcademy
@iOSAcademy Год назад
Very soon!
@itnadivane
@itnadivane Год назад
Are there any cons about making all those factory functions static? In this case you don't need to inject this Factory object into each view controller, and you can use it just like this - ScreenFactory.makeLoginScreen(params: SomeParams)
@iOSAcademy
@iOSAcademy Год назад
Static is generally harder to test and has a memory impact. Instance APIs are preferred though its subjective to a degree
Далее
У тебя проблемы?
00:20
Просмотров 677 тыс.
Beautiful sport😍
00:20
Просмотров 134 тыс.
ПОЮ НАРОДНЫЕ ПЕСНИ🪗
3:19:41
Просмотров 1,9 млн
Indirect Enums in Swift - iOS Tutorial (2023)
9:37
Просмотров 7 тыс.
10 Design Patterns Explained in 10 Minutes
11:04
Просмотров 2,2 млн
Dependency injection в Swift.
25:35
Просмотров 1,7 тыс.
5 Swift DESIGN PATTERNS You Should Know in 2022
14:45
How to use the Coordinator pattern in iOS
18:12
Просмотров 71 тыс.
У тебя проблемы?
00:20
Просмотров 677 тыс.