swift-dependencies
Puddles
Our great sponsors
swift-dependencies | Puddles | |
---|---|---|
11 | 2 | |
1,352 | 49 | |
4.7% | - | |
8.3 | 8.2 | |
6 days ago | 3 months ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swift-dependencies
- Is iOS programming hard now?
-
From barely a hero to a superhero?
Check out www.pointfree.co www.swiftystack.com and www.mobilesystemdesign.com
-
Good Swift Repositories for Experienced Dev
Iād sincerely recommend the video series and associated repositories on https://www.pointfree.co
-
Do you (not) use Dependency Injection and why?
Now, with swift-dependencies from PointFree, you get both the ease of reaching out to a singleton with the benefit of easy overriding for unit tests.
-
TCA state update externally
I recommend you watch the www.pointfree.co website to have more details on TCA basics
-
I wrote an article about The Magic of KeyPath for Dependency Injection and how it Saved Me from Dependency Injection Hell that I faced in my current project.
Look into Dependencies from PointFree which definitely allows you to share instances of dependencies.
-
Queryable - A SwiftUI package that lets you trigger and await view presentations asynchronously
You'll find more information and details in the "Get Started" section of the repository's readme. And if you want to see it used inside an app, have a look at Scrumdinger, which is a re-implementation of Apple's SwiftUI tutorial app with an app architecture I'm currently working on (the guys from pointfree had the awesome idea to use that example app and re-implement it using different techniques).
-
How to send data from the app delegate to other views?
Very elaborate: https://github.com/pointfreeco/swift-dependencies A more broad explanation of all types, from not injecting at all until the fancy framework one: https://betterprogramming.pub/six-or-so-flavors-of-dependency-injection-in-swift-cd3d72651662
-
What is a piece of code (or Framework, extension, etc.) that you add in every new project?
At a minimum, Composable Architecture, and now Dependencies from Point-Free.
- EnvironmentObject weird behavior
Puddles
-
Introducing Puddles - A Native SwiftUI App Architecture
I have built/designed an app architecture for SwiftUI apps with a focus on using as many native mechanisms and patterns as possible, while only adding abstractions and custom types when absolutely necessary. I call it Puddles.
-
Queryable - A SwiftUI package that lets you trigger and await view presentations asynchronously
You'll find more information and details in the "Get Started" section of the repository's readme. And if you want to see it used inside an app, have a look at Scrumdinger, which is a re-implementation of Apple's SwiftUI tutorial app with an app architecture I'm currently working on (the guys from pointfree had the awesome idea to use that example app and re-implement it using different techniques).
What are some alternatives?
Setting - Compose beautiful preference panels.
XUI - XUI makes modular, testable architectures for SwiftUI apps a breeze!
Queryable - Asynchronous view presentations in SwiftUI
Scrumdinger - A re-implementation of Apple's Scrumdinger tutorial app in the Puddles architecture
swift-front-arch - Swift-AppArch is a *swifty*, lightweight, and easy to use way to define your macOS, iOS, tvOS, and watchOS app's architecture using a SOLID architecture patterns.
episode-code-samples - š¾ Point-Free episode code.
Queryable - Run OpenAI's CLIP model on iOS to search photos.
Factory - A new approach to Container-Based Dependency Injection for Swift and SwiftUI.
ReduxUI - š Redux like architecture for SwiftUI
AboutKit - Add an about screen to your app in just a few lines of code.