Skip to content

Commit

Permalink
Fixed access specifier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
xornorik committed Apr 22, 2018
1 parent d9e769b commit 1a730af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Binary file not shown.
14 changes: 7 additions & 7 deletions SVPinView/Source/Classes/SVPinView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public enum SVPinViewStyle : Int {
@objc
public class SVPinView: UIView {

@IBOutlet private var collectionView : UICollectionView!
@IBOutlet fileprivate var collectionView : UICollectionView!

private var flowLayout: UICollectionViewFlowLayout {
fileprivate var flowLayout: UICollectionViewFlowLayout {
return self.collectionView?.collectionViewLayout as! UICollectionViewFlowLayout
}

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

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

private var view:UIView!
private var reuseIdentifier = "SVPinCell"
private var isResetting = false
fileprivate var view:UIView!
fileprivate var reuseIdentifier = "SVPinCell"
fileprivate var isResetting = false

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

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

Expand Down

0 comments on commit 1a730af

Please sign in to comment.