Skip to content

Commit a6137a2

Browse files
committed
add swift-version
1 parent 51d3796 commit a6137a2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.swift-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.0

Sources/ISPageControl.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import UIKit
1010

1111
open class ISPageControl: UIControl {
12-
private let limit = 5
13-
private var fullScaleIndex = [0, 1, 2]
14-
private var dotLayers: [CALayer] = []
15-
private var diameter: CGFloat { return radius * 2 }
16-
private var centerIndex: Int { return fullScaleIndex[1] }
12+
fileprivate let limit = 5
13+
fileprivate var fullScaleIndex = [0, 1, 2]
14+
fileprivate var dotLayers: [CALayer] = []
15+
fileprivate var diameter: CGFloat { return radius * 2 }
16+
fileprivate var centerIndex: Int { return fullScaleIndex[1] }
1717

1818
open var currentPage = 0 {
1919
didSet {

0 commit comments

Comments
 (0)