square / Cleanse

Lightweight Swift Dependency Injection Framework
Other
1.78k stars 90 forks source link

Add default Singleton Scope. #97

Closed sebastianv1 closed 5 years ago

sebastianv1 commented 5 years ago

This is provided for convenience and the consumer isn't required to use this scope at all. Including this because we reference the Singleton scope for bindings that are shared across the entire object graph. This should help decrease confusion for new consumers learning how to set up their project.

sebastianv1 commented 5 years ago

Resolves #96