File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed
Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 1+ # WrapperTextStyle(s)
2+
3+ Styles wrapping other styles to modify their behavior.
4+
5+ ## Constant
6+
7+ Makes it so transformation methods return an unmodified self.
8+
9+ ``` swift
10+ style.constant ()
11+ ```
12+
13+ ## Equals
14+
15+ Binds a style's comparison to a proxy value.
16+
17+ ``` swift
18+ style.equals (())
19+ style.equals (value)
20+ ```
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ struct DiffableTextFieldXPhone: View {
173173}
174174```
175175
176- ## WrapperTextStyle(s) ([ Source] ( Sources/DiffableTextStylesXWrapper/ ) , [ Tests] ( Tests/DiffableTextStylesXWrapperTests ) )
176+ ## [ WrapperTextStyle(s) ] ( Notes/WrapperTextStyle.md ) ([ Source] ( Sources/DiffableTextStylesXWrapper/ ) , [ Tests] ( Tests/DiffableTextStylesXWrapperTests ) )
177177
178178Styles wrapping other styles to modify their behavior.
179179
@@ -185,8 +185,6 @@ Makes it so transformation methods return an unmodified self.
185185style.constant ()
186186```
187187
188- The wrapped style's locale may no longer be overridden by the environment, for example.
189-
190188## Equals
191189
192190Binds a style's comparison to a proxy value.
@@ -195,5 +193,3 @@ Binds a style's comparison to a proxy value.
195193style.equals (())
196194style.equals (value)
197195```
198-
199- Style proposals are discarded unless they are unequal. Use it to optimize the comparison on view update.
You can’t perform that action at this time.
0 commit comments