Skip to content

Commit 1a730af

Browse files
committed
Fixed access specifier issues
1 parent d9e769b commit 1a730af

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

SVPinView/Source/Classes/SVPinView.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ public enum SVPinViewStyle : Int {
1818
@objc
1919
public class SVPinView: UIView {
2020

21-
@IBOutlet private var collectionView : UICollectionView!
21+
@IBOutlet fileprivate var collectionView : UICollectionView!
2222

23-
private var flowLayout: UICollectionViewFlowLayout {
23+
fileprivate var flowLayout: UICollectionViewFlowLayout {
2424
return self.collectionView?.collectionViewLayout as! UICollectionViewFlowLayout
2525
}
2626

@@ -39,12 +39,12 @@ public class SVPinView: UIView {
3939
public var keyboardType:UIKeyboardType = UIKeyboardType.phonePad
4040
public var pinIinputAccessoryView:UIView = UIView()
4141

42-
private var password = [String]()
42+
fileprivate var password = [String]()
4343
public var didFinishCallback: ((String)->())?
4444

45-
private var view:UIView!
46-
private var reuseIdentifier = "SVPinCell"
47-
private var isResetting = false
45+
fileprivate var view:UIView!
46+
fileprivate var reuseIdentifier = "SVPinCell"
47+
fileprivate var isResetting = false
4848

4949
required public init?(coder aDecoder: NSCoder) {
5050
super.init(coder: aDecoder)
@@ -67,7 +67,7 @@ public class SVPinView: UIView {
6767
view.autoresizingMask = [UIViewAutoresizing.flexibleWidth, UIViewAutoresizing.flexibleHeight]
6868
}
6969

70-
@objc private func textFieldDidChange(_ textField: UITextField) {
70+
@objc fileprivate func textFieldDidChange(_ textField: UITextField) {
7171
var nextTag = textField.tag
7272
let index = nextTag - 100
7373

0 commit comments

Comments
 (0)