Skip to content

Commit d103533

Browse files
Miralem CebicMalcolm Jarvis
Miralem Cebic
authored and
Malcolm Jarvis
committed
Fix Error using Swift 4.0 and Xcode 9 (#15)
Xcode 9 now requires explicit `@objc` marking for dynamic functions.
1 parent c558b94 commit d103533

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ReSwiftRecorder/UI/StateHistorySliderView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class StateHistorySliderView: UIView {
3535
fatalError("init(coder:) has not been implemented")
3636
}
3737

38+
@objc
3839
dynamic func sliderValueChanged() {
3940
stateSelectionCallback?(Int(slider.value))
4041
}

0 commit comments

Comments
 (0)