swift-dependencies
A dependency management library inspired by SwiftUI's "environment." (by pointfreeco)
episode-code-samples
💾 Point-Free episode code. (by pointfreeco)
Our great sponsors
swift-dependencies | episode-code-samples | |
---|---|---|
11 | 7 | |
1,352 | 925 | |
4.7% | 1.1% | |
8.3 | 7.2 | |
6 days ago | 6 days ago | |
Swift | Swift | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of swift-dependencies.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
- 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
episode-code-samples
Posts with mentions or reviews of episode-code-samples.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-04.
- SwiftUI app architecture - any recommended online resources?
-
Combine and functional programming
One resource I'd recommend is Point-Free - they'll teach you functional programming from the beginning.
-
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.
-
On Not Drinking the FP Kool-Aid
I come from the iOS world and one of the most valuable resources I have found for understanding FP in Swift is https://www.pointfree.co These guys go over the theoretical concepts and then not only ask, "what's the point?" but they then go on to build out more complicated examples or even complete apps and publish useful libraries on GitHub.
-
A New Chapter
So it's time for a change. I'm going to build my own ideas full-time and find a way to make it work. I've put a lot of thought into it and I'm confident this is the right decision for me. As for what I'll be working on, I wanna build things for the Android community. If you know me, you know that I'm an Android developer and technologist at heart. I’ve gotten some amazing opportunities to speak at conferences and share the things I’ve learned over the years. I’m inspired by people like Josh W. Comeau, and the folks at Point-Free. These are people who master their craft, build beautiful software, and teach about their methodologies and underserved topics in their respective domains. That’s what I want. I want to master my craft, build beautiful Android experiences, and share it with you all. If you don’t wanna miss out, make sure to follow me on Youtube, Twitter, and Mastodon.
-
Any good resources for advanced topics?
https://www.pointfree.co - not exactly about patterns and best practices, but this was the best content I’ve found after reaching the same “CRUD app tutorials are not enough anymore“ phase.
- On using Dependency Injection with MVVM
What are some alternatives?
When comparing swift-dependencies and episode-code-samples you can also consider the following projects:
Setting - Compose beautiful preference panels.
Queryable - Asynchronous view presentations in SwiftUI
atomic - Write ClojureScript in JavaScript without a transpiler.
Scrumdinger - A re-implementation of Apple's Scrumdinger tutorial app in the Puddles architecture
MVVM.Demo.SwiftUI
Factory - A new approach to Container-Based Dependency Injection for Swift and SwiftUI.
AboutKit - Add an about screen to your app in just a few lines of code.
MVVM.Demo - This is a demo application used to educate and interview iOS Engineers.
ImageX - 👓 GIFs and images displayed. 动态图像滤镜播放图像框架。
todo - Atomic TodoMVC
swift-dependencies vs Setting
episode-code-samples vs Setting
swift-dependencies vs Queryable
episode-code-samples vs atomic
swift-dependencies vs Scrumdinger
episode-code-samples vs MVVM.Demo.SwiftUI
swift-dependencies vs Factory
episode-code-samples vs AboutKit
swift-dependencies vs AboutKit
episode-code-samples vs MVVM.Demo
swift-dependencies vs ImageX
episode-code-samples vs todo