Skip to content

Commit aafcdab

Browse files
committed
Version 0.1.3
1 parent a7f8ece commit aafcdab

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- SwipeViewController (0.1.2)
2+
- SwipeViewController (0.1.3)
33

44
DEPENDENCIES:
55
- SwipeViewController (from `../`)
@@ -9,6 +9,6 @@ EXTERNAL SOURCES:
99
:path: ../
1010

1111
SPEC CHECKSUMS:
12-
SwipeViewController: b80bc7199c81955d20c8d78e687c2aae11ec3595
12+
SwipeViewController: 5324f87cc621b12f996c185da6ce0b35f98af681
1313

1414
COCOAPODS: 0.39.0

Example/Pods/Local Podspecs/SwipeViewController.podspec.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/SwipeViewController.xcscheme

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/SwipeViewController/Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/SwipeViewController/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ViewController: SwipeViewController {
2626

2727

2828
setViewControllerArray([VC1, VC2, VC3])
29-
setFirstViewController(1)
29+
setFirstViewController(0)
3030
setSelectionBar(80, height: 3, color: UIColor(red: 0.23, green: 0.55, blue: 0.92, alpha: 1.0))
3131
setButtonsWithSelectedColor(UIFont.systemFontOfSize(18), color: UIColor.blackColor(), selectedColor: UIColor(red: 0.23, green: 0.55, blue: 0.92, alpha: 1.0))
3232

Pod/Classes/SwipeViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class SwipeViewController: UINavigationController, UIPageViewControllerDe
8080
syncScrollView()
8181

8282
//Init of initial view controller
83-
guard currentPageIndex > 1 else {return}
83+
guard currentPageIndex >= 1 else {return}
8484
let initialViewController = pageArray[currentPageIndex - 1]
8585
pageController.setViewControllers([initialViewController], direction: .Forward, animated: true, completion: nil)
8686

SwipeViewController.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = "SwipeViewController"
11-
s.version = "0.1.2"
11+
s.version = "0.1.3"
1212
s.summary = "Subclass of UIPageViewController and UINavigation for easy navigation"
1313

1414
# This description is used to generate tags and improve search results.

0 commit comments

Comments
 (0)