Skip to content

Commit ba3613f

Browse files
mbrandonwmluisbrown
authored andcommitted
Run swift-format
(cherry picked from commit 9da49679682ed9f9a418c51b25f40ea58cefdd5e)
1 parent dc60319 commit ba3613f

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

Sources/ComposableArchitecture/Internal/Deprecations.swift

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ extension WithViewStore: AccessibilityRotorContent where Content: AccessibilityR
2424
/// - content: A function that can generate content from a view store.
2525
@available(
2626
*,
27-
deprecated,
28-
message:
27+
deprecated,
28+
message:
2929
"""
3030
For compiler performance, using "WithViewStore" from an accessibility rotor content builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
3131
@@ -36,7 +36,7 @@ extension WithViewStore: AccessibilityRotorContent where Content: AccessibilityR
3636
_ store: Store<ViewState, ViewAction>,
3737
removeDuplicates isDuplicate: @escaping (ViewState, ViewState) -> Bool,
3838
@AccessibilityRotorContentBuilder content: @escaping (ViewStore<ViewState, ViewAction>) ->
39-
Content,
39+
Content,
4040
file: StaticString = #fileID,
4141
line: UInt = #line
4242
) {
@@ -60,8 +60,8 @@ extension WithViewStore where ViewState: Equatable, Content: AccessibilityRotorC
6060
/// - content: A function that can generate content from a view store.
6161
@available(
6262
*,
63-
deprecated,
64-
message:
63+
deprecated,
64+
message:
6565
"""
6666
For compiler performance, using "WithViewStore" from an accessibility rotor content builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
6767
@@ -71,7 +71,7 @@ extension WithViewStore where ViewState: Equatable, Content: AccessibilityRotorC
7171
public init(
7272
_ store: Store<ViewState, ViewAction>,
7373
@AccessibilityRotorContentBuilder content: @escaping (ViewStore<ViewState, ViewAction>) ->
74-
Content,
74+
Content,
7575
file: StaticString = #fileID,
7676
line: UInt = #line
7777
) {
@@ -89,8 +89,8 @@ extension WithViewStore where ViewState == Void, Content: AccessibilityRotorCont
8989
/// - content: A function that can generate content from a view store.
9090
@available(
9191
*,
92-
deprecated,
93-
message:
92+
deprecated,
93+
message:
9494
"""
9595
For compiler performance, using "WithViewStore" from an accessibility rotor content builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
9696
@@ -102,7 +102,7 @@ extension WithViewStore where ViewState == Void, Content: AccessibilityRotorCont
102102
file: StaticString = #fileID,
103103
line: UInt = #line,
104104
@AccessibilityRotorContentBuilder content: @escaping (ViewStore<ViewState, ViewAction>) ->
105-
Content
105+
Content
106106
) {
107107
self.init(store, removeDuplicates: ==, content: content, file: file, line: line)
108108
}
@@ -122,8 +122,8 @@ extension WithViewStore: Commands where Content: Commands {
122122
/// - content: A function that can generate content from a view store.
123123
@available(
124124
*,
125-
deprecated,
126-
message:
125+
deprecated,
126+
message:
127127
"""
128128
For compiler performance, using "WithViewStore" from a command builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
129129
@@ -159,8 +159,8 @@ extension WithViewStore where ViewState: Equatable, Content: Commands {
159159
/// - content: A function that can generate content from a view store.
160160
@available(
161161
*,
162-
deprecated,
163-
message:
162+
deprecated,
163+
message:
164164
"""
165165
For compiler performance, using "WithViewStore" from a command builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
166166
@@ -189,8 +189,8 @@ extension WithViewStore where ViewState == Void, Content: Commands {
189189
/// - content: A function that can generate content from a view store.
190190
@available(
191191
*,
192-
deprecated,
193-
message:
192+
deprecated,
193+
message:
194194
"""
195195
For compiler performance, using "WithViewStore" from a command builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
196196
@@ -219,8 +219,8 @@ extension WithViewStore: Scene where Content: Scene {
219219
/// - content: A function that can generate content from a view store.
220220
@available(
221221
*,
222-
deprecated,
223-
message:
222+
deprecated,
223+
message:
224224
"""
225225
For compiler performance, using "WithViewStore" from a scene builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
226226
@@ -254,8 +254,8 @@ extension WithViewStore where ViewState: Equatable, Content: Scene {
254254
/// - content: A function that can generate content from a view store.
255255
@available(
256256
*,
257-
deprecated,
258-
message:
257+
deprecated,
258+
message:
259259
"""
260260
For compiler performance, using "WithViewStore" from a scene builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
261261
@@ -282,8 +282,8 @@ extension WithViewStore where ViewState == Void, Content: Scene {
282282
/// - content: A function that can generate content from a view store.
283283
@available(
284284
*,
285-
deprecated,
286-
message:
285+
deprecated,
286+
message:
287287
"""
288288
For compiler performance, using "WithViewStore" from a scene builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
289289
@@ -312,8 +312,8 @@ extension WithViewStore: ToolbarContent where Content: ToolbarContent {
312312
/// - content: A function that can generate content from a view store.
313313
@available(
314314
*,
315-
deprecated,
316-
message:
315+
deprecated,
316+
message:
317317
"""
318318
For compiler performance, using "WithViewStore" from a toolbar content builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
319319
@@ -347,8 +347,8 @@ extension WithViewStore where ViewState: Equatable, Content: ToolbarContent {
347347
/// - content: A function that can generate content from a view store.
348348
@available(
349349
*,
350-
deprecated,
351-
message:
350+
deprecated,
351+
message:
352352
"""
353353
For compiler performance, using "WithViewStore" from a toolbar content builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
354354
@@ -375,8 +375,8 @@ extension WithViewStore where ViewState == Void, Content: ToolbarContent {
375375
/// - content: A function that can generate content from a view store.
376376
@available(
377377
*,
378-
deprecated,
379-
message:
378+
deprecated,
379+
message:
380380
"""
381381
For compiler performance, using "WithViewStore" from a toolbar content builder is no longer supported. Extract this "WithViewStore" to the parent view, instead, or observe your view store from an "@ObservedObject" property.
382382
@@ -393,7 +393,6 @@ extension WithViewStore where ViewState == Void, Content: ToolbarContent {
393393
}
394394
}
395395

396-
397396
// MARK: - Deprecated after 0.39.1:
398397

399398
extension WithViewStore {

0 commit comments

Comments
 (0)