Skip to content

Commit

Permalink
Fixed several Swift errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kingsley committed Oct 8, 2016
1 parent 45447fe commit 35e45db
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Carthage Framework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.6</string>
<string>0.6.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion EZSwipeController.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "EZSwipeController"
s.version = "0.6"
s.version = "0.6.1"
s.summary = "UIPageViewController like Snapchat/Tinder/iOS Main Pages"
s.description = "Easy to use UIPageViewController to create a view navigation like Snapchat/Tinder/iOS Main Pages."
s.homepage = "https://github.com/goktugyil/EZSwipeController"
Expand Down
6 changes: 3 additions & 3 deletions EZSwipeController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ open class EZSwipeController: UIViewController {
public var navigationBarShouldNotExist = false
public var cancelStandardButtonEvents = false

open init() {
public init() {
super.init(nibName: nil, bundle: nil)
setupView()
}
Expand Down Expand Up @@ -190,7 +190,7 @@ open class EZSwipeController: UIViewController {
pageViewController.view.frame = CGRect(x: 0, y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height)
}

override public func loadView() {
override open func loadView() {
super.loadView()
stackVC = datasource?.viewControllerData()
stackStartLocation = datasource?.indexOfStartingPage?() ?? 0
Expand All @@ -207,7 +207,7 @@ open class EZSwipeController: UIViewController {
super.viewDidLoad()
}

override public func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation) {
override open func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation) {
self.setFrameForCurrentOrientation()
}

Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion EZSwipeController/MySwipeVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ extension MySwipeVC: EZSwipeControllerDataSource {
}

func moveToEnd() {
self.moveToPage(2)
self.moveToPage(2, animated: true)
}

func alert(title: String?, message: String, action: String) {
Expand Down

0 comments on commit 35e45db

Please sign in to comment.