2 Commits

Author SHA1 Message Date
Hamza Ghazouani 42f2fc2f11 Create .codeclimate.yml 2019-10-21 00:28:26 +02:00
Hamza Ghazouani ed0dbde3b5 Fix the issue #31: the thumb jumps when the minimum value was grather than 0 2019-10-21 00:18:34 +02:00
4 changed files with 12 additions and 27 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ s.author = { 'Hamza Ghazouani' => 'hamza.ghazouani@gmail.com' }
s.source = { :git => 'https://github.com/HamzaGhazouani/HGCircularSlider.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/GhazouaniHamza'
s.ios.deployment_target = '9.0'
s.ios.deployment_target = '8.0'
s.source_files = 'HGCircularSlider/Classes/**/*'
@@ -6,8 +6,6 @@
//
//
import UIKit
/**
A visual control used to select a fixed range of values from a continuous range of values.
MidPointCircularSlider use the target-action mechanism to report changes made during the course of editing:
-17
View File
@@ -1,17 +0,0 @@
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "HGCircularSlider",
platforms: [.iOS(.v8)],
products: [
.library(
name: "HGCircularSlider",
targets: ["HGCircularSlider"]
)
],
targets: [
.target(name: "HGCircularSlider", path: "HGCircularSlider/Classes")
]
)
+11 -7
View File
@@ -27,19 +27,22 @@ To run the example project, clone the repo, and run `pod install` from the Examp
## Requirements
- iOS 9.0+
- Xcode 11.4
- Xcode 10.0
## Installation
HGCircularSlider is also available through [Swift Package Manager](https://swift.org/package-manager/)
Follow this [doc](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app?language=swift).
HGCircularSlider is also available through [CocoaPods](http://cocoapods.org). To install
HGCircularSlider is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
``` ruby
pod 'HGCircularSlider', '~> 2.2.1'
# Swift 3.1 - Xcode 8.3
pod 'HGCircularSlider', '~> 2.0.0'
# Swift 3 - Xcode 8
pod 'HGCircularSlider', '~> 1.0.3'
# Swift 2.2 - Xcode 7.3.1 (Checkout Swift2_Xcode7.3 branche)
pod 'HGCircularSlider', '~> 0.1.2'
```
HGCircularSlider is also available through [Carthage](https://github.com/Carthage/Carthage). To install
@@ -47,6 +50,7 @@ it, simply add the following line to your Cartfile:
``` ruby
# Swift 3.1 - Xcode 8
github "HamzaGhazouani/HGCircularSlider"
```