Skip to content

Commit 487509e

Browse files
mbrandonwp4checo
authored andcommitted
Run swift-format
(cherry picked from commit ef137808e73b430db71a77c8407fd4c3b71a7372)
1 parent 0e0b84a commit 487509e

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
@@ -142,7 +142,8 @@ extension ViewStore where ViewAction: BindableAction, ViewAction.State == ViewSt
142142
send: { value in
143143
#if DEBUG
144144
let debugger = BindableActionViewStoreDebugger(
145-
value: value, bindableActionType: ViewAction.self, file: file, fileID: fileID, line: line
145+
value: value, bindableActionType: ViewAction.self, file: file, fileID: fileID,
146+
line: line
146147
)
147148
let set: (inout ViewState) -> Void = {
148149
$0[keyPath: keyPath].wrappedValue = value

Sources/ComposableArchitecture/ViewStore.swift

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ public final class ViewStore<ViewState, ViewAction> {
160160
@available(
161161
iOS,
162162
deprecated: 9999.0,
163-
message: """
163+
message:
164+
"""
164165
Use 'init(_:observe:removeDuplicates:)' to make state observation explicit.
165166
166167
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:
@@ -171,7 +172,8 @@ public final class ViewStore<ViewState, ViewAction> {
171172
@available(
172173
macOS,
173174
deprecated: 9999.0,
174-
message: """
175+
message:
176+
"""
175177
Use 'init(_:observe:removeDuplicates:)' to make state observation explicit.
176178
177179
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:
@@ -182,7 +184,8 @@ public final class ViewStore<ViewState, ViewAction> {
182184
@available(
183185
tvOS,
184186
deprecated: 9999.0,
185-
message: """
187+
message:
188+
"""
186189
Use 'init(_:observe:removeDuplicates:)' to make state observation explicit.
187190
188191
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:
@@ -193,7 +196,8 @@ public final class ViewStore<ViewState, ViewAction> {
193196
@available(
194197
watchOS,
195198
deprecated: 9999.0,
196-
message: """
199+
message:
200+
"""
197201
Use 'init(_:observe:removeDuplicates:)' to make state observation explicit.
198202
199203
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:
@@ -626,7 +630,8 @@ extension ViewStore where ViewState: Equatable {
626630
@available(
627631
iOS,
628632
deprecated: 9999.0,
629-
message: """
633+
message:
634+
"""
630635
Use 'init(_:observe:)' to make state observation explicit.
631636
632637
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:
@@ -637,7 +642,8 @@ extension ViewStore where ViewState: Equatable {
637642
@available(
638643
macOS,
639644
deprecated: 9999.0,
640-
message: """
645+
message:
646+
"""
641647
Use 'init(_:observe:)' to make state observation explicit.
642648
643649
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:
@@ -648,7 +654,8 @@ extension ViewStore where ViewState: Equatable {
648654
@available(
649655
tvOS,
650656
deprecated: 9999.0,
651-
message: """
657+
message:
658+
"""
652659
Use 'init(_:observe:)' to make state observation explicit.
653660
654661
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:
@@ -659,7 +666,8 @@ extension ViewStore where ViewState: Equatable {
659666
@available(
660667
watchOS,
661668
deprecated: 9999.0,
662-
message: """
669+
message:
670+
"""
663671
Use 'init(_:observe:)' to make state observation explicit.
664672
665673
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)