Swift Coordinator Design Pattern (iOS, Xcode 12, 2022) - iOS Design Patterns

preview_player
Показать описание
In this video we will learn how to use the coordinator design pattern for iOS Apps. The coordinator pattern solves the massive view controller problem as well. Its a staple for every iOS developer to know and understand.

#swift #coordinator #designPatterns

Join this channel to get access to perks, code, groups, and more:

** Get Skillshare free for 2 Months and learn iOS

** Manage all your investments from app earnings on Betterment!

** Grow your own Youtube tech channel with TubeBuddy:
Рекомендации по теме
Комментарии
Автор

Finally a good tutorial that is nicely explained and up to date, kudos.

patresito
Автор

Hey, thanks for the great content! One question - I see that navigation pushes are handled. What if I need to present VC modally - how to handle it better using Coordinator pattern?

ViktorMameshyn
Автор

Would have been good to see how the co-ordinator passes model data to/from the VC’s.

Tenly
Автор

Great intro! I would like to see more on this. Thanks!

glennadams
Автор

How it is better than just to define a static function show(from: UIViewController)?
Also does it mean that you have to apply this coordinator pattern to all of your controllers in project?

LinkMoody
Автор

Hey man, thanks for the video. How would you implement case Event when you do need to pass some parameter in order to initialise our VC?

jakubgawecki
Автор

Hi. Thanks for this! Do you have a public repo for this particular project?

glennposadas
Автор

I haven’t watched the whole video just yet, disclaimer in case you mention it, but a quick note when you import UIKit it automatically imports foundation so importing foundation is redundant

kalinbalabanov
Автор

Coordinating controllers must have a property by the name of coordinator as a weak reference, mustn't they?

Денис-жфр
Автор

can i imlement to swiftui peoject this pattern? Would it be correct to use it with SwiftUI?

ekucet
Автор

If the project does not require Navigation Controller?

nurlanakylbekov
Автор

Hey! Could you talk about algorithm and how you implement it into a swift project in Xcode? Don’t talk about the fundamentals, just how to implement it please !

jakobu
Автор

Great video mate, would u mind do the mvvm-c as well?

dzulfikarali
Автор

Why did you write the same code in both scene delegate and app delegate. I thought the scene delegate along would be enough.

Денис-жфр
Автор

Just great! Thank you for your hard work. Somehow the quality of the video got worse, I mean the resolution got not that sharp as before, I thing when exporting from the video the resolution should be changed

liangyanyang
Автор

hi can you do a video on programmatically create control like textField, textView, imageview base on json file. This mean json contain the info on what control to create and add all control into a form which can be scroll. Thanks

smarttravel
Автор

How to pass data from second view controller to first view controller using coordinator pattern?

subinsuresh
Автор

I noticed that you define var coordinator: Coordinator?

some tutorials I've seen that they use weak var coordinator: Coordinator?

doesn't yours retain cycle? I tried adding weak but I think the reference was broken and the navigation was not working anymore.

myrondulay
Автор

Hey Afraz, I currently have an issue with Xcode where it crashes when I run any of my projects on a phone. Looked it up and tried every solution but nothing seems to fix that, have you encountered this before?

sayedgfx
Автор

How to pass the data from one view to another?

JohnD
welcome to shbcf.ru