Swinject
Kingfisher
Our great sponsors
Swinject | Kingfisher | |
---|---|---|
6 | 19 | |
6,178 | 22,788 | |
0.7% | - | |
4.2 | 8.4 | |
7 days ago | 7 days 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.
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.
Kingfisher
-
Question about Apple's review
The 3rd party library I use GRDB SwiftyUserDefaults Kingfisher SwiftDate Popovers
-
Storage of 1000's of images for Travel app
Saving URLs definitely the way to go. Would recommend using a library such as Kingfisher to do the image loading/ caching for you.
-
Best way to extract text and images from html code in order?
I also looked into this github library but wanted to first ask if anyone's had any experience using it.
-
Collection view downloading wrong image
You can checkout Kingfisher library (it downloads image, and caches it). Usage is fairly simple but I would recomment that you create extension for the UIIMageView, somthing in line like this:
-
How do you guys handle image caching?
In native iOS, most people use Kingfisher, and i'd love to have something as good as that on our RN app. Perhaps just some pure JS library that you could plug on the existing image component, and that would handle the saving-to-disk and fetching of the image?
-
Cracking the iOS Interview
Kingfisher - Download and cache images
- Kingfisher
-
Is using CoreData + CloudKit to store text note, and iCloud Document to store note image attachments as image files a good design approach?
We are using https://github.com/onevcat/Kingfisher for smooth image loading in collection view. If the image data are not in regular text file, how can we integrate CoreData's blob data with Kingfisher?
-
Almost Netflix: An iOS Netflix Clone built with Appwrite
Make sure the proper target is selected in the Add to target in the dialog as shown above, then click Add Package button. The package should successfully be added to your project. Now following the same process, this time search for the Kingfisher package using the GitHub URL as the following https://github.com/onevcat/Kingfisher.
-
Awesome macOS Libraries List
Kingfisher - A lightweight, pure-Swift library for downloading and caching images from the web. Language: Swift.
What are some alternatives?
Resolver - Swift Ultralight Dependency Injection / Service Locator framework
SDWebImage - Asynchronous image downloader with cache support as a UIImageView category
Cleanse - Lightweight Swift Dependency Injection Framework
Nuke - Image loading system
Needle - Compile-time safe Swift dependency injection framework
AlamofireImage - AlamofireImage is an image component library for Alamofire
Typhoon - Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
SwiftSVG - A simple, performant, and lightweight SVG parser
Dip - Simple Swift Dependency container. Use protocols to resolve your dependencies and avoid singletons / sharedInstances!
SDWebImageSwiftUI - SwiftUI Image loading and Animation framework powered by SDWebImage
Kraken - Simple Dependency Injection container for Swift. Use protocols to resolve dependencies with easy-to-use syntax!
AsyncImageView - [DEPRECATED]