Open in app

Sign In

Write

Sign In

Ihor Vovk
Ihor Vovk

48 Followers

Home

About

Published in Better Programming

·Dec 9, 2021

Layered Dependency Injection With Swift Property Wrappers

Resolve dependencies at compile-time — Purpose A simple solution for dependency injection Compile-time resolving of dependencies Provide different scopes of injectable values for different layers: view model, view, router, interactor, etc. Reduce the number of dependencies passed via init methods Avoid spreading abstractions from an external library across the project. Solution Even though the solution is property…

Swift

3 min read

Create Layered Dependency Injection With Swift Property Wrappers
Create Layered Dependency Injection With Swift Property Wrappers
Swift

3 min read


Published in Better Programming

·Oct 6, 2020

Routing in SwiftUI

2 solutions for routing in SwiftUI — Purposes Separate the navigation logic from the view layer. It’ll allow you to change navigation without modifying views. Simplify the implementation of tasks, like deep linking, by making navigation more flexible SwiftUI-Specific Information The declarative nature of SwiftUI makes it challenging to separate the navigation from the view layer. Push navigation requires inserting…

Programming

7 min read

Routing in SwiftUI
Routing in SwiftUI
Programming

7 min read

Ihor Vovk

Ihor Vovk

48 Followers

Senior iOS Developer, Architect

Following
  • Michael Long

    Michael Long

  • Trey Huffine

    Trey Huffine

  • Zack Shapiro

    Zack Shapiro

  • Marsel Tzatzo

    Marsel Tzatzo

  • Patrick Kobler

    Patrick Kobler

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech