Created
August 19, 2016 01:20
-
-
Save susieyy/66a50f563702c7632832c9ce2004a7bd 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
final class SwipeContainerViewController: UIPageViewController { | |
convenience init() { | |
self.init(transitionStyle: .Scroll, navigationOrientation: .Horizontal, options: nil) | |
} | |
override init(transitionStyle style: UIPageViewControllerTransitionStyle, navigationOrientation: UIPageViewControllerNavigationOrientation, options: [String : AnyObject]?) { | |
super.init(transitionStyle: style, navigationOrientation: navigationOrientation, options: options) | |
} | |
required init?(coder: NSCoder) { | |
fatalError("init(coder:) has not been implemented") | |
} | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment