Swiftpack.co - netzgut/integral-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by netzgut.
netzgut/integral-swift v0.1.1
A collection of useful property wrappers
⭐️ 0
🕓 16 weeks ago
iOS
.package(url: "https://github.com/netzgut/integral-swift.git", from: "v0.1.1")

∫ Integral Swift

A collection of property wrappers to improve the iOS coding experience.

Contains simple dependency injection (Registry), value-based injectables (Symbols), and access to UserDefaults.

This is still WIP! It's not as tested as it should be, but is used in production in two apps on the AppStore.

Registry

A smaller version of hmlongco/Resolver, with less features.
Only supports singletons as scope.

Services can loaded on injection (default), lazy or eager (on registry startup).

See registry.md for more details.

Symbols

Inject values instead of full-blown services.

See symbols.md for more details.

Insprired by Apache Tapestry Symbols.

UserDefaults

Easier access to UserDefaults.

See user-defaults.md for more details.

Licence

MIT.

GitHub

link
Stars: 0
Last commit: 16 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics