Skip to content

Instantly share code, notes, and snippets.

@susieyy
Created August 19, 2016 01:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save susieyy/66a50f563702c7632832c9ce2004a7bd to your computer and use it in GitHub Desktop.
Save susieyy/66a50f563702c7632832c9ce2004a7bd to your computer and use it in GitHub Desktop.
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