diff --git a/MSSTabbedPageViewController.podspec b/MSSTabbedPageViewController.podspec index 4d18b63..587c6c8 100644 --- a/MSSTabbedPageViewController.podspec +++ b/MSSTabbedPageViewController.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "MSSTabbedPageViewController" - s.version = "0.3.9" + s.version = "0.3.10" s.summary = "A custom container UIViewController which provides a simple to implement page view controller with scrolling tab bar" s.description = <<-DESC @@ -20,5 +20,6 @@ Pod::Spec.new do |s| s.source_files = "MSSTabbedPageViewController/Classes", "Source/**/*.{h,m}" s.resources = ['Source/**/*.{xib}'] s.frameworks = 'UIKit' + s.deprecated_in_favor_of = 'Tabman' end diff --git a/README.md b/README.md index 1dc953a..18f6c4a 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ +**MSSTabbedPageViewController is now deprecated, and a new Swift component is available in the form of [Tabman](https://github.com/MerrickSapsford/Tabman). Unfortunately this can't be made compatible with Objective-C.** + +**A seperate component, [Pageboy](https://github.com/MerrickSapsford/Pageboy) is available to provide the UIPageViewController enhancements present in MSSTabbedPageViewController and much more.** +

MSSTabbedPageViewController

# MSSTabbedPageViewController -[![Build Status](https://travis-ci.org/MerrickSapsford/MSSTabbedPageViewController.svg?branch=develop)](https://travis-ci.org/MerrickSapsford/MSSTabbedPageViewController) +[![Status](https://img.shields.io/badge/status-deprecated-red.svg)]() +[![Build Status](https://travis-ci.org/msaps/MSSTabbedPageViewController.svg?branch=develop)](https://travis-ci.org/msaps/MSSTabbedPageViewController) [![CocoaPods](https://img.shields.io/cocoapods/v/MSSTabbedPageViewController.svg)]() MSSTabbedPageViewController is a UIViewController that provides a simple to implement page view controller with scrolling tab bar. It also includes a UIPageViewController wrapper that provides improved data source and delegation methods. diff --git a/Source/MSSTabbedPageViewController.m b/Source/MSSTabbedPageViewController.m index 88afdb6..d7f2cb7 100644 --- a/Source/MSSTabbedPageViewController.m +++ b/Source/MSSTabbedPageViewController.m @@ -46,6 +46,7 @@ - (void)viewWillAppear:(BOOL)animated { tabBarView.dataSource = self; tabBarView.delegate = self; self.tabBarView = tabBarView; + self.tabBarView.hidden = NO; BOOL isInitialController = (self.navigationController.viewControllers.firstObject == self); [navigationBar tabbedPageViewController:self viewWillAppear:animated isInitial:isInitialController]; @@ -64,6 +65,7 @@ - (void)viewWillDisappear:(BOOL)animated { } // remove the current tab bar + self.tabBarView.hidden = YES; self.tabBarView = nil; } }