Skip to content

Commit 7f024d9

Browse files
authored
Update README.md
1 parent ffc618e commit 7f024d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ___
99

1010
Sometimes during the app development process we need to replace instances of classes or actors we use in production code with instances that emulate their work e.g. tests, SwiftUI previews, demo apps etc.
1111

12-
Ususally that requires additional changes in the code that in turn opens up a whole new layer of errors. handlinge of theese errors is on your shoulders.
12+
Ususally that requires additional changes in the code that in turn opens up a whole new layer of errors. handling of theese errors is on your shoulders.
1313

1414
Inject lets you express your intent in a way that enables compile-time checking that you have all the instances required for the production.
1515
At the same time it let's you replace the instance on any object with a single line of code.
@@ -132,7 +132,7 @@ I'm saying you have to try it and decide for yourself and that's why:
132132

133133
- Thread safety using `@MainActor`
134134
- Inject doesn't introduce a container instance.
135-
- No need to register instance in a container, defininition of a compoted property with the instance instead.
135+
- No need to register instance in a container, defininition of a computed property with the instance instead.
136136
- Compile-time check that all the instances provided, which removes a whole layer of errors.
137137
- Inject's API operates simple concepts like instance, injection/replacement, scope and lifetime.
138138
- Enables you to keep your code modular for free.

0 commit comments

Comments
 (0)