Created
October 8, 2017 10:49
-
-
Save dmytro-anokhin/0f9f85fea04036742df25fce475fbe21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Width of the left view in side-by-side display mode | |
private var leftColumnWidth: CGFloat! | |
/// Suggests width of the left column in side-by-side display mode | |
private func suggestLeftColumnWidth(for availableSize: CGSize) -> CGFloat { | |
return availableSize.width > availableSize.height ? 440.0 : 320.0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment