Skip to content

Commit ef13780

Browse files
mbrandonwgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 8a75b24 commit ef13780

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

Sources/ComposableArchitecture/SwiftUI/Binding.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ extension ViewStore where ViewAction: BindableAction, ViewAction.State == ViewSt
137137
send: { value in
138138
#if DEBUG
139139
let debugger = BindableActionViewStoreDebugger(
140-
value: value, bindableActionType: ViewAction.self, file: file, fileID: fileID, line: line
140+
value: value, bindableActionType: ViewAction.self, file: file, fileID: fileID,
141+
line: line
141142
)
142143
let set: (inout ViewState) -> Void = {
143144
$0[keyPath: keyPath].wrappedValue = value

Sources/ComposableArchitecture/ViewStore.swift

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ public final class ViewStore<ViewState, ViewAction>: ObservableObject {
151151
@available(
152152
iOS,
153153
deprecated: 9999.0,
154-
message: """
154+
message:
155+
"""
155156
Use 'init(_:observe:removeDuplicates:)' to make state observation explicit.
156157
157158
When using ViewStore you should take care to observe only the pieces of state that your view needs to do its job, especially towards the root of the application. See the performance article for more details:
@@ -162,7 +163,8 @@ public final class ViewStore<ViewState, ViewAction>: ObservableObject {
162163
@available(
163164
macOS,
164165
deprecated: 9999.0,
165-
message: """
166+
message:
167+
"""
166168
Use 'init(_:observe:removeDuplicates:)' to make state observation explicit.
167169
168170
When using ViewStore you should take care to observe only the pieces of state that your view needs to do its job, especially towards the root of the application. See the performance article for more details:
@@ -173,7 +175,8 @@ public final class ViewStore<ViewState, ViewAction>: ObservableObject {
173175
@available(
174176
tvOS,
175177
deprecated: 9999.0,
176-
message: """
178+
message:
179+
"""
177180
Use 'init(_:observe:removeDuplicates:)' to make state observation explicit.
178181
179182
When using ViewStore you should take care to observe only the pieces of state that your view needs to do its job, especially towards the root of the application. See the performance article for more details:
@@ -184,7 +187,8 @@ public final class ViewStore<ViewState, ViewAction>: ObservableObject {
184187
@available(
185188
watchOS,
186189
deprecated: 9999.0,
187-
message: """
190+
message:
191+
"""
188192
Use 'init(_:observe:removeDuplicates:)' to make state observation explicit.
189193
190194
When using ViewStore you should take care to observe only the pieces of state that your view needs to do its job, especially towards the root of the application. See the performance article for more details:
@@ -609,7 +613,8 @@ extension ViewStore where ViewState: Equatable {
609613
@available(
610614
iOS,
611615
deprecated: 9999.0,
612-
message: """
616+
message:
617+
"""
613618
Use 'init(_:observe:)' to make state observation explicit.
614619
615620
When using ViewStore you should take care to observe only the pieces of state that your view needs to do its job, especially towards the root of the application. See the performance article for more details:
@@ -620,7 +625,8 @@ extension ViewStore where ViewState: Equatable {
620625
@available(
621626
macOS,
622627
deprecated: 9999.0,
623-
message: """
628+
message:
629+
"""
624630
Use 'init(_:observe:)' to make state observation explicit.
625631
626632
When using ViewStore you should take care to observe only the pieces of state that your view needs to do its job, especially towards the root of the application. See the performance article for more details:
@@ -631,7 +637,8 @@ extension ViewStore where ViewState: Equatable {
631637
@available(
632638
tvOS,
633639
deprecated: 9999.0,
634-
message: """
640+
message:
641+
"""
635642
Use 'init(_:observe:)' to make state observation explicit.
636643
637644
When using ViewStore you should take care to observe only the pieces of state that your view needs to do its job, especially towards the root of the application. See the performance article for more details:
@@ -642,7 +649,8 @@ extension ViewStore where ViewState: Equatable {
642649
@available(
643650
watchOS,
644651
deprecated: 9999.0,
645-
message: """
652+
message:
653+
"""
646654
Use 'init(_:observe:)' to make state observation explicit.
647655
648656
When using ViewStore you should take care to observe only the pieces of state that your view needs to do its job, especially towards the root of the application. See the performance article for more details:

0 commit comments

Comments
 (0)