Skip to content

Commit

Permalink
Fixing demo imports 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
chicio committed Jul 15, 2022
1 parent 615b65b commit b4913c9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
8 changes: 4 additions & 4 deletions DemoSPM/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ class ViewController: UIViewController, RangeUISliderDelegate {
])
}

func rangeChangeFinished(minValueSelected: CGFloat, maxValueSelected: CGFloat, slider: RangeUISlider) {
print("FINISH min: \(minValueSelected) - max: \(maxValueSelected) - identifier: \(slider.identifier)")
func rangeChangeFinished(event: RangeUISliderChangeFinishedEvent) {
print("FINISH min: \(event.minValueSelected) - max: \(event.maxValueSelected) - identifier: \(event.slider.identifier)")
}

func rangeIsChanging(minValueSelected: CGFloat, maxValueSelected: CGFloat, slider: RangeUISlider) {
print("min: \(minValueSelected) - max: \(maxValueSelected) - identifier: \(slider.identifier)")
func rangeIsChanging(event: RangeUISliderChangeEvent) {
print("min: \(event.minValueSelected) - max: \(event.maxValueSelected) - identifier: \(event.slider.identifier)")
}
}
24 changes: 11 additions & 13 deletions RangeUISlider.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"object": {
"pins": [
{
"package": "RangeUISlider",
"repositoryURL": "https://github.com/chicio/RangeUISlider",
"state": {
"branch": "master",
"revision": "1dde11275ed31bb61e0a45d248ac1604ba758815",
"version": null
}
"pins" : [
{
"identity" : "rangeuislider",
"kind" : "remoteSourceControl",
"location" : "https://github.com/chicio/RangeUISlider",
"state" : {
"branch" : "master",
"revision" : "615b65b91f3b1d45ae24b289f7bebc205359c0fe"
}
]
},
"version": 1
}
],
"version" : 2
}
1 change: 1 addition & 0 deletions Source/RangeUISliderDelegateEvents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import CoreGraphics

/**
A range change event.
Expand Down

0 comments on commit b4913c9

Please sign in to comment.