Carthage
Swinject
Carthage | Swinject | |
---|---|---|
5 | 6 | |
14,905 | 6,183 | |
0.1% | 0.5% | |
5.9 | 4.2 | |
about 1 month ago | 9 days ago | |
Swift | Swift | |
GNU General Public License v3.0 or later | 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.
Carthage
-
Binding Lottie (or any other Swift framework with UI) in MAUI
On iOS side to keep it clean, I've used Carthage to get Lottie. The wrapping is pretty much the same, the goal is to make sure we can set the animation and get the view.
-
Awesome macOS Libraries List
Carthage - A simple, decentralized dependency manager for Cocoa. Language: Swift.
-
MagazineLayout
To install MagazineLayout using Carthage, add github "airbnb/MagazineLayout" to your Cartfile, then follow the integration tutorial here.
-
Building a restaurant iOS App
To add Alamofire, we'll be using Swift Package Manager. Xcode comes with built-in support for it and we'll not have to use external package managers like Cocoapods or Carthage. Click on File → Add Packages...
-
How to migrate your project with Carthage to Xcode 12
Carthage / Building platform-independent XCFrameworks (Xcode 12 and above)
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?
swift-package-manager - The Package Manager for the Swift Programming Language
Resolver - Swift Ultralight Dependency Injection / Service Locator framework
Xcode Maven - Maven for iOS Builds
Cleanse - Lightweight Swift Dependency Injection Framework
CocoaPods
Needle - Compile-time safe Swift dependency injection framework
Accio - A dependency manager driven by SwiftPM that works for iOS/tvOS/watchOS/macOS projects.
Typhoon - Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
Alcatraz
Dip - Simple Swift Dependency container. Use protocols to resolve your dependencies and avoid singletons / sharedInstances!
Rome - Carthage cache for S3, Minio, Ceph, Google Storage, Artifactory and many others
Kraken - Simple Dependency Injection container for Swift. Use protocols to resolve dependencies with easy-to-use syntax!