ZipZap
Swinject
ZipZap | Swinject | |
---|---|---|
2 | 6 | |
1,217 | 6,190 | |
- | 0.6% | |
0.0 | 7.2 | |
over 2 years ago | 4 days ago | |
Objective-C | Swift | |
BSD 3-clause "New" or "Revised" 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.
ZipZap
-
Awesome macOS Libraries List
ZipZap - zip file I/O library. Language: Objective-C.
-
Python – Create large ZIP archives without memory inflation
Streaming zip file is going to have issues when compression ratio is not 0 for some implementations (such as ZipFileStream from Java / Android). I fixed this a few years ago for ZipZap: https://github.com/pixelglow/ZipZap/pull/155
Particularly, the local header (per file) is written before the file content, and you cannot get accurate compressed size prior to actual compression. Central file header is at the end of the file, so there is no problem to get accurate compressed size, but some zip reader implementations (such as ZipFileStream) cannot use central file header (because it is at the end), and will use the wrong compressed size.
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?
ZipArchive - ZipArchive is a simple utility class for zipping and unzipping files on iOS, macOS and tvOS.
Resolver - Swift Ultralight Dependency Injection / Service Locator framework
Zip Foundation - Effortless ZIP Handling in Swift
Cleanse - Lightweight Swift Dependency Injection Framework
KZFileWatchers - A micro-framework for observing file changes, both local and remote. Helpful in building developer tools.
Needle - Compile-time safe Swift dependency injection framework
FileExplorer - FileExplorer is a powerful iOS file browser that allows its users to choose and remove files and/or directories
Typhoon - Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
AppFolder - 🗂 Never use NSSearchPathForDirectoriesInDomains again
Dip - Simple Swift Dependency container. Use protocols to resolve your dependencies and avoid singletons / sharedInstances!
Ares - Zero-setup P2P file transfer between Macs and iOS devices
Kraken - Simple Dependency Injection container for Swift. Use protocols to resolve dependencies with easy-to-use syntax!