Skip to content

Commit

Permalink
Update NHRangeSlider.swift
Browse files Browse the repository at this point in the history
1.Modify for Swift 4.2.
  • Loading branch information
Kent-Liu authored Oct 19, 2018
1 parent 8b86d67 commit e9dcb7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NHRangeSlider/NHRangeSlider/NHRangeSlider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ open class NHRangeSlider: UIControl {


/// stepValue. If set, will snap to discrete step points along the slider . Default to nil
@IBInspectable open var stepValue: Double? = nil {
open var stepValue: Double? = nil {
willSet(newValue) {
if newValue != nil {
assert(newValue! > 0, "NHRangeSlider: stepValue must be positive")
Expand Down

0 comments on commit e9dcb7d

Please sign in to comment.