VIP, not a VIPER, Clean Swift Architecture - iOS Conf SG 2022

  Переглядів 14,182

iOS Conf SG

iOS Conf SG

День тому

Speaker: Danijela Vrzan
VIP and VIPER, while having the same basic components, are quite different in their implementation. They both follow Uncle Bob's Clean Architecture principles and often tend to be mixed up due to their name similarities. This talk will introduce you to the VIP architecture and it’s principles. While specifically made for UIKit apps to fix the MVC problem (Massive View Controllers), we'll take a look at how we could implement it in SwiftUI apps.
About the Speaker:
Danijela is an iOS Developer and an article author for raywenderlich.com. In her free time, you can find her hiking or lifting heavy weights at the gym. When not working out, she's playing video-games, cooking, and trying to keep up with Swift updates!
Event URL: iosconf.sg

КОМЕНТАРІ: 13
@draganmarkovic7221
@draganmarkovic7221 2 роки тому
Great video Danijela! Throurghly explained with great examples, keep up the good work!
@renymustika6347
@renymustika6347 2 роки тому
Thanks for sharing. It's like more simple than VIPER
@kanstantsin-bucha
@kanstantsin-bucha Рік тому
We do similar design pattern for UI, only based on ViewModel and Interactors, where the view is subscribed to the ViewModel state and has some callbacks that ViewModel provides to handle User actions. ViewModel talks to Interactor, validate data and prepare presentation data from models.
@AG-ym6iw
@AG-ym6iw 6 місяців тому
читаю и думаю чем-то напоминаю т**ю :)
@abhigna.amarraju
@abhigna.amarraju Рік тому
Can we please have this code link,?
@CanaldoJabinho
@CanaldoJabinho Рік тому
the example could be in viewcode but ok Great job
@paulikhane
@paulikhane 2 роки тому
I think this great and I really appreciate the insight. I just one small contribution. Interactor should not be talking to network layer, that breaks Single Responsibility Principle. I know you can use Protocol to define a contract between this layers but in general business logic (functions or methods) should only accept parameters(values) and return values, matter fact they should be pure functions(taking a clue from functional programming). There should be a repository layer between the interactor and the network workers.
@eahmedshendy
@eahmedshendy Рік тому
Can we just make the Interactor takes the role of repository?
@SwiftWithWalid
@SwiftWithWalid 2 роки тому
Thank you for sharing but for me vip or viper aren’t architecture. Architecture define correctly the relation between modules which is not defined at all in this “architectures” and in the end we will end with a spaghetti code :)
@kanstantsin-bucha
@kanstantsin-bucha Рік тому
It is a UI design pattern. The naming needs to be corrected, agreed. Still we should have one to deal with UI =)
@sarojraut7634
@sarojraut7634 4 місяці тому
It will end with well defined code with less bugs if you are using it in long term large projects.
@JHEVR
@JHEVR Рік тому
The Hogwarts project was VIPER not VIP 🤔 right? VIP pattern works well with SwiftUI, VIPER doesn't because of the Routing, I think that's what you wanted to say
Swift Concurrency Under the Hood - iOS Conf SG 2022
26:18
iOS Conf SG
Переглядів 5 тис.
skibidi toilet 73 (part 2)
04:15
DaFuq!?Boom!
Переглядів 19 млн
Migrating SwiftUI MVVM App to MV Pattern
37:48
azamsharp
Переглядів 3,7 тис.
Coordinator на Swift пример паттерна, iOS разработка
33:37
iOS на практике
Переглядів 6 тис.
VIPER Architecture in iOS (Swift)
1:02:07
Venu Gopal Tewari
Переглядів 10 тис.
Keeping Things Modular With Swift Package Manager - iOS Conf SG 2022
25:36
MVVM is BAD for SwiftUI - Use MVC Instead! (Yes, MVC)
13:28
Rebeloper - Rebel Developer
Переглядів 3,5 тис.
STOP using MVVM for SwiftUI | Clean iOS Architecture
18:58
Rebeloper - Rebel Developer
Переглядів 28 тис.
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Переглядів 16 млн
iPhone 15 Precision Finding | Find Your Friends | Apple
2:52
RTX 4070 Super слишком хороша. Меня это бесит
15:22
Рома, Просто Рома
Переглядів 89 тис.
Vortex Cannon vs Drone
20:44
Mark Rober
Переглядів 13 млн
iPhone - телефон для нищебродов?!
0:53
ÉЖИ АКСЁНОВ
Переглядів 3,6 млн