diff --git a/.gitignore b/.gitignore index a3cd143..4eb9fe5 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,6 @@ DerivedData # you should judge for yourself, the pros and cons are mentioned at: # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control # -# Pods/ +Pods/ +._* +.DS_Store diff --git a/Source/YZSwipeBetweenViewController.m b/Source/YZSwipeBetweenViewController.m index db9e414..d783c61 100755 --- a/Source/YZSwipeBetweenViewController.m +++ b/Source/YZSwipeBetweenViewController.m @@ -113,7 +113,7 @@ - (void)scrollToViewControllerAtIndex:(NSInteger)index animated:(BOOL)animated{ if (index >= 0 && index < self.viewControllers.count) { [self.scrollView scrollRectToVisible:[self.viewControllers[index] view].frame - animated:YES + animated:animated ]; } diff --git a/YZSwipeBetweenViewController.podspec b/YZSwipeBetweenViewController.podspec index f5c4a70..56c9f28 100644 --- a/YZSwipeBetweenViewController.podspec +++ b/YZSwipeBetweenViewController.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "YZSwipeBetweenViewController" - s.version = "0.0.2" + s.version = "0.0.3" s.summary = "A view controller that enables user to swipe left or right to switch to different views." s.homepage = "https://github.com/yichizhang/" + s.name s.license = { :type => 'MIT', :file => 'LICENSE' }