From fe5b872ca75eab5d14bd2de2614c741482adf190 Mon Sep 17 00:00:00 2001 From: Martin Barreto Date: Tue, 10 Feb 2015 09:52:17 -0200 Subject: [PATCH] Added isProgressiveIndicator property. Now we can update the current indicator each time UIScrollView content offset changes. Added isElasticIndicatorLimit. If isProgressiveIndicator is YES we can choose between elastic and fixed first and last view controllers indicators. Update examples. --- XLPagerTabStrip/Base.lproj/LaunchScreen.xib | 4 +- .../Demo/BarExampleViewController.m | 3 + .../Demo/ButtonBarExampleViewController.m | 5 +- .../ChildExampleViewController.m | 2 +- .../Helpers/ReloadExampleViewController.m | 38 ++++ .../Demo/SegmentedExampleViewController.m | 2 + XLPagerTabStrip/Demo/Storyboard.storyboard | 33 ++- XLPagerTabStrip/Info.plist | 4 + .../XLBarPagerTabStripViewController.m | 13 +- .../XLButtonBarPagerTabStripViewController.m | 12 ++ .../XLPagerTabStripViewController.h | 7 + .../XLPagerTabStripViewController.m | 190 ++++++++++++------ .../XLSegmentedPagerTabStripViewController.m | 18 +- XLPagerTabStrip/XL/Views/XLBarView.h | 1 + XLPagerTabStrip/XL/Views/XLBarView.m | 15 ++ XLPagerTabStrip/XL/Views/XLButtonBarView.h | 1 + XLPagerTabStrip/XL/Views/XLButtonBarView.m | 77 +++++-- 17 files changed, 328 insertions(+), 97 deletions(-) diff --git a/XLPagerTabStrip/Base.lproj/LaunchScreen.xib b/XLPagerTabStrip/Base.lproj/LaunchScreen.xib index da81f055..ad1a4269 100644 --- a/XLPagerTabStrip/Base.lproj/LaunchScreen.xib +++ b/XLPagerTabStrip/Base.lproj/LaunchScreen.xib @@ -1,5 +1,5 @@ - + @@ -14,7 +14,7 @@