Skip to content

Commit 05c7e4c

Browse files
mluisbrownactions-user
authored andcommitted
Run swift-format
1 parent 2122276 commit 05c7e4c

File tree

15 files changed

+2796
-2789
lines changed

15 files changed

+2796
-2789
lines changed

Examples/CaseStudies/SwiftUICaseStudies/01-GettingStarted-Bindings-Forms.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
Slider(value: viewStore.binding(\.$sliderValue), in: 0...Double(viewStore.stepCount))
8080
}
8181
.disabled(viewStore.toggleIsOn)
82-
82+
8383
Button("Reset") {
8484
viewStore.send(.resetButtonTapped)
8585
}

Examples/SpeechRecognition/SpeechRecognition/SpeechRecognitionApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import ReactiveSwift
21
import ComposableArchitecture
2+
import ReactiveSwift
33
import SwiftUI
44

55
@main

Examples/Todos/Todos/Todos.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ let appReducer = Reducer<AppState, AppAction, AppEnvironment>.combine(
7373
.map { state.filteredTodos[$0] }
7474
.compactMap { state.todos.index(id: $0.id) }
7575
)
76-
destination = state.todos.index(id: state.filteredTodos[destination].id)
76+
destination =
77+
state.todos.index(id: state.filteredTodos[destination].id)
7778
?? destination
7879
}
7980

Examples/Todos/Todos/TodosApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import ReactiveSwift
21
import ComposableArchitecture
2+
import ReactiveSwift
33
import SwiftUI
44

55
@main

Sources/ComposableArchitecture/Debugging/ReducerInstrumentation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
.event, log: log, name: "Effect Output", "%sOutput from %s", prefix, actionOutput
8080
)
8181
}
82-
)
82+
)
8383
}
8484
}
8585
#endif

Sources/ComposableArchitecture/Effect.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension Effect {
2929
.deferred { () -> SignalProducer<Value, Error> in
3030
work()
3131
return .empty
32-
}
32+
}
3333
}
3434

3535
/// Concatenates a variadic list of effects together into a single effect, which runs the effects
@@ -111,7 +111,7 @@ extension Effect {
111111
observer.send(error: error)
112112
}
113113
}
114-
}
114+
}
115115
}
116116

117117
/// Initializes an effect that lazily executes some work in the real world and synchronously sends
@@ -142,7 +142,7 @@ extension Effect {
142142
public static func result(_ attemptToFulfill: @escaping () -> Result<Value, Error>) -> Self {
143143
Effect { () -> Result<Value, Error> in
144144
attemptToFulfill()
145-
}
145+
}
146146
}
147147

148148
/// Turns any `SignalProducer` into an ``Effect`` that cannot fail by wrapping its output and failure in

Sources/ComposableArchitecture/Effects/Concurrency.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import ReactiveSwift
2+
23
#if canImport(_Concurrency) && compiler(>=5.5.2)
34
extension Effect {
45
/// Wraps an asynchronous unit of work in an effect.

0 commit comments

Comments
 (0)