Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryu0118 authored Sep 30, 2023
1 parent ba45555 commit 035c84d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public extension DependencyValues {}
`@PublicInit` is a Member Macro and provides a public initializer.
This macro can be applied only to public structs.
`@Dependencies` is an Extension Macro that can conform TestClient to TestDependencyKey. This macro can also be applied only to structs.
`@DependencyValue` is a Member Macro; by using a Macro for the extension of DependencyValues, you can add a property of the type specified in the argument

In this example, the macro is expanded as follows.
```Swift
Expand Down

0 comments on commit 035c84d

Please sign in to comment.