[WIP] Updates to bring the project up to speed
Hello! I am a big fan of Swinject and have started to use SwinjectPropertyLoader heavily for configuring many apps using the same assemblers. Big fan of the inheritance via overriding. Since the project has not been updated in 4 years — this is a pull request to get a conversation going to see if any of these changes are of value to be merged into the project.
Changes within this PR—
- SPM/Package.swift support with various updates for Swift 6 bring support to iOS 15+
- PropertyKey type safe retrieval (identical to
Notifications.Namepattern within Apple stdlibs) - TOMLPropertyLoader.
- StructPropertyLoader. Uses reflection to set properties.
- Loading JSON/Plist/TOML via
URL
I am currently using my fork in production and wanted not to keep it to myself. Think this would be great to get this project jumpstarted again. Looking for this PR to be a conversation.
Thanks!
What do you think @yoichitgy ?
@jeffhodsdon (cc @maxim-chipeev @0xLucasMarcal) Currently Swinject is maintained by Faire Wholesale Inc.
@0xLucasMarcal awesome! Thank you! Let me know if there is anything else I can do to help get this merged. Looking forward to helping out with this project in the future