SwinjectPropertyLoader icon indicating copy to clipboard operation
SwinjectPropertyLoader copied to clipboard

[WIP] Updates to bring the project up to speed

Open jeffhodsdon opened this issue 4 months ago • 3 comments

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—

  1. SPM/Package.swift support with various updates for Swift 6 bring support to iOS 15+
  2. PropertyKey type safe retrieval (identical to Notifications.Name pattern within Apple stdlibs)
  3. TOMLPropertyLoader.
  4. StructPropertyLoader. Uses reflection to set properties.
  5. 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!

jeffhodsdon avatar Oct 05 '25 17:10 jeffhodsdon

What do you think @yoichitgy ?

jeffhodsdon avatar Nov 01 '25 14:11 jeffhodsdon

@jeffhodsdon (cc @maxim-chipeev @0xLucasMarcal) Currently Swinject is maintained by Faire Wholesale Inc.

yoichitgy avatar Nov 02 '25 05:11 yoichitgy

@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

jeffhodsdon avatar Nov 04 '25 12:11 jeffhodsdon