Swiftpack.co - Swift Packages by ivlevAstef

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by ivlevAstef

ivlevAstef/DITranquillity v4.5.2
Dependency injection for iOS (Swift)
⭐️ 415
🕓 34 weeks ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Root Components
34 weeks ago
Add new safety idea - root components. For more information your can see [link](https://github.com/ivlevAstef/DITranquillity/blob/master/Documentation/ru/core/registration_and_service.md#рутовый-компонент)
Remove SpinLock
47 weeks ago
Remove SpinLock and increase minimum OS version
fix makeGraph while use container hierarchy
1 year ago
Simplifying a particular case
2 years ago
Add simple one modificator injection into initialize method. For example: Old: `container.register { Cat(name: arg($0), owner: $1, home: $2) }` New: `container.register(Cat.init) { arg($0) }`
Argument injection with Tag or Name
2 years ago
Fix argument injection for Tag and named resolve. for example: ``` container.register { MyClass(inj: arg($0)) } .as(name: "Name", MyProtocol.self) .as(tag: MyTag.self, MyProtocol.self) let arg = AnyArgument(type: MyProtocol.self, value: 1) let obj1: MyProtocol = container.resolve(name: "Name", arguments: arg) let obj2: MyProtocol = by(tag: MyTag.self, on: container.resolve(arguments: arg)) ```
Fix resolve with arguments use none base type
2 years ago
Fix arguments resolve if for resolve used none base type. for example: `let a: T? = container.resolve(args: ...)`. In current example `T` is `Optional`. Also fix if `T` use many or tag.
Update Arguments API
2 years ago
Warning! This version change public API! * Update arguments. Now inject arguments it's thread save operation. Also change syntax - remove extensions, and now inject arguments use resolve method in container. [see](Documentation/ru/core/modificated_injection.md#Аргумент) https://github.com/ivlevAstef/DITranquillity/issues/159
Fix potential crash into FastLock
3 years ago
Fix potential crash into FastLock. For more information saw: https://github.com/ivlevAstef/SwiftLazy/issues/6
Thread safe for singleton/custom lifetimes.
3 years ago
* Improve thread safe for public scopes `DICacheStorage`. Actually only if you use custom lifetime. * Fix thread safe for methods `initializeSingletonObjects` and `initializeObjectsForScope`
Fix memory leak bug
3 years ago
Fix memory leak ParsedType. About bug in comments [#159](https://github.com/ivlevAstef/DITranquillity/issues/159) issue
ivlevAstef/DITranquillityGraphviz v0.0.5
Additional plugin DITranquillity for visualization dependency graph use graphviz
⭐️ 1
🕓 2 years ago

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