You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astroject is designed to simplify dependency management in your Swift projects. It provides a clean and intuitive API for registering and resolving dependencies, supporting both synchronous and asynchronous factories, various instance scopes (singleton, prototype, weak), and extensible behaviors. Many ideas came from a Sister Library [Swinject](https://github.com/Swinject/Swinject)
9
+
Astroject is designed to simplify dependency management in your Swift projects. It provides a clean and intuitive API for registering and resolving dependencies, supporting both synchronous and asynchronous factories, various instance scopes (singleton, transient, weak), and extensible behaviors. Many ideas came from a Sister Library [Swinject](https://github.com/Swinject/Swinject)
10
10
11
11
## API Documentation
12
12
Coming Soon...
13
13
[DocC]()
14
14
15
15
## Features
16
16
-**Synchronous and Asynchronous Registrations:** Register dependencies with both synchronous and asynchronous factory closures.
17
-
-**Instance Scopes:** Supports singleton, prototype, and weak instance scopes.
17
+
-**Instance Scopes:** Supports singleton, transient, and weak instance scopes.
18
18
-**Named Registrations:** Register dependencies with optional names for disambiguation.
19
19
-**Circular Dependency Detection:** Prevents and reports circular dependency issues.
20
20
-**Extensible Behaviors:** Add custom behaviors to the container's registration process.
@@ -173,17 +173,17 @@ class MyClass {
173
173
174
174
let container =Container()
175
175
```
176
-
-Prototype(default) - A new instance is generated through every resolve for that object.
176
+
-Transient(default) - A new instance is generated through every resolve for that object.
0 commit comments