episode-code-samples
💾 Point-Free episode code. (by pointfreeco)
Factory
A new approach to Container-Based Dependency Injection for Swift and SwiftUI. (by hmlongco)
Our great sponsors
episode-code-samples | Factory | |
---|---|---|
7 | 1 | |
925 | 1,567 | |
1.1% | - | |
7.2 | 8.4 | |
2 days ago | 18 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.
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
Factory
Posts with mentions or reviews of Factory.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-24.
-
What is a piece of code (or Framework, extension, etc.) that you add in every new project?
I prefer Factory over Dependencies (since I wrote it). You can use the SwuftUI environment-style syntax for injection, and registering a new dependency type is much, much simpler than using an EnvironmentKey approach.
What are some alternatives?
When comparing episode-code-samples and Factory you can also consider the following projects:
Setting - Compose beautiful preference panels.
atomic - Write ClojureScript in JavaScript without a transpiler.
swift-dependencies - A dependency management library inspired by SwiftUI's "environment."
AboutKit - Add an about screen to your app in just a few lines of code.
MVVM.Demo.SwiftUI
MVVM.Demo - This is a demo application used to educate and interview iOS Engineers.
todo - Atomic TodoMVC
swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
Resolver - Swift Ultralight Dependency Injection / Service Locator framework
episode-code-samples vs Setting
Factory vs Setting
episode-code-samples vs atomic
Factory vs swift-dependencies
episode-code-samples vs swift-dependencies
Factory vs AboutKit
episode-code-samples vs MVVM.Demo.SwiftUI
episode-code-samples vs AboutKit
episode-code-samples vs MVVM.Demo
episode-code-samples vs todo
episode-code-samples vs swift-composable-architecture
episode-code-samples vs Resolver