Skip to content

Commit

Permalink
UIScreen.defaultKeyboardHeightForCurrentOrientation is public; InputC…
Browse files Browse the repository at this point in the history
…ontainerView.contentHeight and InputContainerView.contentView are public
  • Loading branch information
MikhailGasanov committed Feb 13, 2019
1 parent 0ff8c5a commit aac6763
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ChattoAdditions/Source/Common/ScreenMetric.swift
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ extension UIScreen {
}
}

var defaultKeyboardHeightForCurrentOrientation: CGFloat {
public var defaultKeyboardHeightForCurrentOrientation: CGFloat {
if UIDevice.current.orientation.isPortrait {
return self.defaultPortraitKeyboardHeight
} else {
Expand Down
4 changes: 2 additions & 2 deletions ChattoAdditions/Source/Input/InputContainerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

open class InputContainerView: UIInputView {

var contentHeight: CGFloat = 0 {
public var contentHeight: CGFloat = 0 {
didSet {
self.invalidateIntrinsicContentSize()
}
}

var contentView: UIView? {
public var contentView: UIView? {
willSet {
self.contentView?.removeFromSuperview()
}
Expand Down

0 comments on commit aac6763

Please sign in to comment.