Skip to content

Commit 60f15e4

Browse files
committed
Multiple fixes and new features
1 parent af80ca1 commit 60f15e4

10 files changed

+127
-107
lines changed

CHANGELOG.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,28 @@ The changelog for `MSCircularSlider`. Summarized release notes can be found in t
33

44
------------------------
55

6-
1.0.0
7-
------
8-
First official release
9-
10-
Fixed many inconsistencies found in the pre-release version
11-
Fixed Travis CI yml file that caused build fails
12-
Removed the unneeded pod.lock file
13-
Fixed pod and podspec files
14-
15-
0.1.0
16-
------
17-
Pre-release version of the library
6+
## 1.1.0
7+
#### Added
8+
- Support for using `snapToLabels` concurrently with `snapToMarkers` (snaps to the nearest label or marker)
9+
- Multiple new members to `MSDoubleHandleCircularSlider` to customize each handle separately
10+
11+
#### Fixed
12+
- Issues and warnings risen from Swift updates, including errors caused by implicit access controls
13+
14+
## 1.0.1
15+
#### Fixed
16+
- Minor issues with Travis.ci
17+
18+
19+
## 1.0.0
20+
#### Fixed
21+
- Fixed many inconsistencies found in the pre-release version
22+
- Fixed Travis CI yml file that caused build fails
23+
- Fixed pod and podspec files
24+
25+
#### Removed
26+
- Removed the unneeded pod.lock file
27+
28+
29+
## 0.X.X
30+
All prerelease changes are not logged

MSCircularSlider.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Pod::Spec.new do |s|
22
s.name = 'MSCircularSlider'
3-
s.version = '0.1.0'
3+
s.version = '1.1.0'
44
s.license = { :type => 'MIT', :file => 'LICENSE' }
55
s.authors = { 'ThunderStruct' => '[email protected]' }
66
s.summary = 'A full-featured circular slider for iOS applications'
77
s.homepage = 'https://github.com/ThunderStruct/MSCircularSlider'
88

99
# Source Info
1010
s.platform = :ios, '9.3'
11-
s.source = { :git => 'https://github.com/ThunderStruct/MSCircularSlider.git', :branch => "master", :tag => "0.1.0" }
11+
s.source = { :git => 'https://github.com/ThunderStruct/MSCircularSlider.git', :branch => "master", :tag => "1.1.0" }
1212
s.source_files = 'MSCircularSlider/*.{swift}'
1313

1414
s.requires_arc = true

MSCircularSlider/MSCircularSlider+IB.swift

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ extension MSCircularSlider {
1313
// VALUE PROPERTIES
1414
//================================================================================
1515

16-
@IBInspectable var _minimumValue: Double {
16+
@IBInspectable public var _minimumValue: Double {
1717
get {
1818
return minimumValue
1919
}
@@ -22,7 +22,7 @@ extension MSCircularSlider {
2222
}
2323
}
2424

25-
@IBInspectable var _maximumValue: Double {
25+
@IBInspectable public var _maximumValue: Double {
2626
get {
2727
return maximumValue
2828
}
@@ -31,7 +31,7 @@ extension MSCircularSlider {
3131
}
3232
}
3333

34-
@IBInspectable var _currentValue: Double {
34+
@IBInspectable public var _currentValue: Double {
3535
get {
3636
return currentValue
3737
}
@@ -44,7 +44,7 @@ extension MSCircularSlider {
4444
// SHAPE PROPERTIES
4545
//================================================================================
4646

47-
@IBInspectable var _maximumAngle: CGFloat {
47+
@IBInspectable public var _maximumAngle: CGFloat {
4848
get {
4949
return maximumAngle
5050
}
@@ -54,7 +54,7 @@ extension MSCircularSlider {
5454
}
5555
}
5656

57-
@IBInspectable var _lineWidth: Int {
57+
@IBInspectable public var _lineWidth: Int {
5858
get {
5959
return lineWidth
6060
}
@@ -63,7 +63,7 @@ extension MSCircularSlider {
6363
}
6464
}
6565

66-
@IBInspectable var _filledColor: UIColor {
66+
@IBInspectable public var _filledColor: UIColor {
6767
get {
6868
return filledColor
6969
}
@@ -72,7 +72,7 @@ extension MSCircularSlider {
7272
}
7373
}
7474

75-
@IBInspectable var _unfilledColor: UIColor {
75+
@IBInspectable public var _unfilledColor: UIColor {
7676
get {
7777
return unfilledColor
7878
}
@@ -81,7 +81,7 @@ extension MSCircularSlider {
8181
}
8282
}
8383

84-
@IBInspectable var _rotationAngle: CGFloat {
84+
@IBInspectable public var _rotationAngle: CGFloat {
8585
get {
8686
return rotationAngle ?? 0 as CGFloat
8787
}
@@ -94,7 +94,7 @@ extension MSCircularSlider {
9494
// HANDLE PROPERTIES
9595
//================================================================================
9696

97-
@IBInspectable var _handleType: Int { // Takes values from 0 to 3 only
97+
@IBInspectable public var _handleType: Int { // Takes values from 0 to 3 only
9898
get {
9999
return handleType.rawValue
100100
}
@@ -105,7 +105,7 @@ extension MSCircularSlider {
105105
}
106106
}
107107

108-
@IBInspectable var _handleColor: UIColor {
108+
@IBInspectable public var _handleColor: UIColor {
109109
get {
110110
return handleColor
111111
}
@@ -114,7 +114,7 @@ extension MSCircularSlider {
114114
}
115115
}
116116

117-
@IBInspectable var _handleEnlargementPoints: Int {
117+
@IBInspectable public var _handleEnlargementPoints: Int {
118118
get {
119119
return handleEnlargementPoints
120120
}
@@ -123,7 +123,7 @@ extension MSCircularSlider {
123123
}
124124
}
125125

126-
@IBInspectable var _handleHighlightable: Bool {
126+
@IBInspectable public var _handleHighlightable: Bool {
127127
get {
128128
return handleHighlightable
129129
}
@@ -136,7 +136,7 @@ extension MSCircularSlider {
136136
// LABELS PROPERTIES
137137
//================================================================================
138138

139-
@IBInspectable var _commaSeparatedLabels: String {
139+
@IBInspectable public var _commaSeparatedLabels: String {
140140
get {
141141
return labels.isEmpty ? "" : labels.joined(separator: ",")
142142
}
@@ -148,7 +148,7 @@ extension MSCircularSlider {
148148
}
149149
}
150150

151-
@IBInspectable var _labelFont: UIFont {
151+
@IBInspectable public var _labelFont: UIFont {
152152
get {
153153
return labelFont
154154
}
@@ -157,7 +157,7 @@ extension MSCircularSlider {
157157
}
158158
}
159159

160-
@IBInspectable var _labelColor: UIColor {
160+
@IBInspectable public var _labelColor: UIColor {
161161
get {
162162
return labelColor
163163
}
@@ -166,7 +166,7 @@ extension MSCircularSlider {
166166
}
167167
}
168168

169-
@IBInspectable var _labelOffset: CGFloat {
169+
@IBInspectable public var _labelOffset: CGFloat {
170170
get {
171171
return labelOffset
172172
}
@@ -175,7 +175,7 @@ extension MSCircularSlider {
175175
}
176176
}
177177

178-
@IBInspectable var _snapToLabels: Bool {
178+
@IBInspectable public var _snapToLabels: Bool {
179179
get {
180180
return snapToLabels
181181
}
@@ -188,7 +188,7 @@ extension MSCircularSlider {
188188
// MARKERS PROPERTIES
189189
//================================================================================
190190

191-
@IBInspectable var _markerCount: Int {
191+
@IBInspectable public var _markerCount: Int {
192192
get {
193193
return markerCount
194194
}
@@ -197,7 +197,7 @@ extension MSCircularSlider {
197197
}
198198
}
199199

200-
@IBInspectable var _markerColor: UIColor {
200+
@IBInspectable public var _markerColor: UIColor {
201201
get {
202202
return markerColor
203203
}
@@ -206,7 +206,7 @@ extension MSCircularSlider {
206206
}
207207
}
208208

209-
@IBInspectable var _markerImage: UIImage {
209+
@IBInspectable public var _markerImage: UIImage {
210210
get {
211211
return markerImage ?? UIImage()
212212
}
@@ -215,7 +215,7 @@ extension MSCircularSlider {
215215
}
216216
}
217217

218-
@IBInspectable var _snapToMarkers: Bool {
218+
@IBInspectable public var _snapToMarkers: Bool {
219219
get {
220220
return snapToMarkers
221221
}

0 commit comments

Comments
 (0)