File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -175,34 +175,25 @@ struct DiffableTextFieldXPhone: View {
175175
176176## WrapperTextStyle(s) ([ Source] ( Sources/DiffableTextStylesXWrapper/ ) , [ Tests] ( Tests/DiffableTextStylesXWrapperTests ) )
177177
178- Styles wrapping other styles and modifying their behavior.
178+ Styles wrapping other styles to modify their behavior.
179179
180180## Constant
181181
182182Makes it so transformation methods return an unmodified self.
183183
184- ### Examples
185-
186184``` swift
187185style.constant ()
188186```
189187
190- The style's locale may no longer be overriden by the environment.
188+ The wrapped style's locale may no longer be overridden by the environment, for example .
191189
192190## Equals
193191
194192Binds a style's comparison to a proxy value.
195193
196- ### Examples
197-
198194``` swift
199195style.equals (())
200- ```
201-
202- The first style is accepted, subsequent styles are discarded without comparison.
203-
204- ``` swift
205196style.equals (value)
206197```
207198
208- The first style is accepted, subsequent styles are discarded unless the their proxies are different .
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