Skip to content

Commit

Permalink
Swift 3 Support
Browse files Browse the repository at this point in the history
Changed access control from `private` to `fileprivate` for Swift 3 Support.
  • Loading branch information
lasha-ring committed Jan 18, 2018
1 parent d5da8c6 commit 7fd5e78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Typist.swift
Expand Up @@ -186,20 +186,20 @@ public class Typist: NSObject {

// MARK: - Input Accessory View Support

private var scrollView: UIScrollView? {
fileprivate var scrollView: UIScrollView? {
didSet {
scrollView?.keyboardDismissMode = .interactive // allows dismissing keyboard interactively
scrollView?.addGestureRecognizer(panGesture)
}
}

private lazy var panGesture: UIPanGestureRecognizer = { [unowned self] in
fileprivate lazy var panGesture: UIPanGestureRecognizer = { [unowned self] in
let recognizer = UIPanGestureRecognizer(target: self, action: #selector(handlePanGestureRecognizer))
recognizer.delegate = self
return recognizer
}()

private var _options: KeyboardOptions?
fileprivate var _options: KeyboardOptions?

@IBAction func handlePanGestureRecognizer(recognizer: UIPanGestureRecognizer) {
guard
Expand Down

0 comments on commit 7fd5e78

Please sign in to comment.