swift-package-manager
Swinject
swift-package-manager | Swinject | |
---|---|---|
6 | 6 | |
9,596 | 6,190 | |
0.3% | 0.6% | |
9.7 | 7.2 | |
1 day ago | 3 days ago | |
Swift | Swift | |
Apache License 2.0 | 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-package-manager
-
Cocoapods vs SPM
I can't use SPM... https://github.com/apple/swift-package-manager/issues/4581
-
Swift Package Manager, build configurations and non compiling iOS projects
If we inspect the documentation we can see that there is debug and release BuildConfiguration defined. We can also have a look at source code but there is not much useful information there. So what does debug and release configuration mean and in what circumstances those are applied?
-
Awesome macOS Libraries List
Swift Package Manager - The Package Manager for the Swift Programming Language. Created and maintained by Apple. Language: Swift.
- Cocoapods vs SPM?
-
Meet PreviewDevice 0.7.0
Swift Package Manager
-
Swift Package Versioning
SPM docs
Swinject
-
Dependency Injection Simplified
DI is a concept which makes a class independent of its dependency management. It achieves that by decoupling the usage of an object from its creation. This helps you to follow SOLID’s dependency inversion and single responsibility principles. To achieve this in Swift one of the most appreciated library is Swinject. This library not only provides DI but also have many other features like:-
-
Awesome macOS Libraries List
Swinject - Dependency injection framework for Swift. Language: Swift.
-
SwiftUI Dependency injection
We use Swinject which is probably quite similar https://github.com/Swinject/Swinject
- Any DI libraries for swift?
- How do you guys see PHP and its framworks/CMS in 2025?
-
How to modularize a big iOS project
So, how do we fix this? There is a cleaner solution. By using a dependency injection framework, such as Swinject we can create a base module that we might call the DI module.
What are some alternatives?
CocoaPods
Resolver - Swift Ultralight Dependency Injection / Service Locator framework
Xcode Maven - Maven for iOS Builds
Cleanse - Lightweight Swift Dependency Injection Framework
Carthage - A simple, decentralized dependency manager for Cocoa
Needle - Compile-time safe Swift dependency injection framework
Rome - Carthage cache for S3, Minio, Ceph, Google Storage, Artifactory and many others
Typhoon - Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
Accio - A dependency manager driven by SwiftPM that works for iOS/tvOS/watchOS/macOS projects.
Dip - Simple Swift Dependency container. Use protocols to resolve your dependencies and avoid singletons / sharedInstances!
SWM (Swift Modules) - Swift Modules, a swift module (or package) manager #fuck_xcode #terminal_rocks
Kraken - Simple Dependency Injection container for Swift. Use protocols to resolve dependencies with easy-to-use syntax!