Commit Graph

85 Commits

Author SHA1 Message Date
Martin Barreto ba803baecd resolve conflicts 2015-12-29 14:15:01 -03:00
Martin Barreto 9c8ef4053a Merge branch 'master' of github.com:xmartlabs/XLPagerTabStrip 2015-12-28 18:55:52 -03:00
Martin Barreto e36de690aa Xcode upgrade 2015-12-28 18:55:43 -03:00
Martin Barreto a668705237 Merge pull request #62 from OliverPearmain/OliverPearmain/feature-ButtonBar-SelectedBarAlignment
Added (XLSelectedBarAlignment) selectedBarAlignment property to XLButtonBarView
2015-12-28 18:40:25 -03:00
Martin Barreto 12f6b1d7e5 Merge pull request #71 from OliverPearmain/OliverPearmain/bug-MakeUsableWithoutStoryboardOrXIB
Bug fix for using XLButtonBarPagerTabStripViewController without a storyboard or XIB
2015-12-28 16:36:25 -03:00
Martin Barreto 8fccf50c83 Merge pull request #87 from DanielMandea/kvcRemoveObserverCrash
Fixed KVC remove observer crash for XLTwitterPagerTabStripViewController
2015-12-28 16:16:57 -03:00
Mandea Daniel 481ff983e4 Fixed KVC remove observer crash for XLTwitterPagerTabStripViewController 2015-11-27 13:46:47 +02:00
Martin Barreto b397ac15ca Merge pull request #68 from monoqlo/bugfix-XLPagerTabStripViewController
Bug Fix - PagerTabStrip VC's updateContent
2015-10-28 17:16:24 -02:00
Martin Barreto d34d52d957 Merge pull request #75 from mcousillas6/master
bug fix TwitterPager pageControl position
2015-09-21 14:28:43 -03:00
Mauricio Cousillas a49fe53249 bug fix TwitterPager pageControl position 2015-09-21 14:26:47 -03:00
Oliver Pearmain c9cfea6e8b Bug fix for using XLButtonBarPagerTabStripViewController without a storyboard or XIB. 2015-09-01 12:09:34 +01:00
monoqlo 75724a9eb4 Bug Fix - PagerTabStrip VC's updateContent
beginAppearanceTransition:animated: are called before addChildViewController:.
This cause a crash when a childViewController refers the parentViewController's objects such as navigationController in viewWillAppear:.
So, beginAppearanceTransition:animated: should be called after addChildViewController:.
2015-08-27 10:28:07 +09:00
Oliver Pearmain 11794d181f Fixed bug where contentOffset isn't correctly set when the view first appears. This was because a call to [self.buttonBarView layoutIfNeeded] in viewWillAppear was screwing up self.buttonBarView's frame right before we need it to calculate the alignment offset. Removing the call to [self.buttonBarView layoutIfNeeded] doesn't seem to have any side-effects in my testing. 2015-08-21 17:49:11 +01:00
Oliver Pearmain beb1222f17 Added XLSelectedBarAlignment selectedBarAlignment property to XLButtonBarView so that developers can choose how the selectedBar gets aligns as the user scrolls through view controllers.
Additionally consolidated some duplicated code into a new method contentOffsetForCellWithFrame:index: so there is a single place where the contentOffset (i.e. the selectedBar alignment) is calculated (regardless of whether the user tapped a tab/cell or scrolled the UIPageViewController).
2015-08-21 16:09:35 +01:00
Martin Barreto 93d8581557 fix #59 2015-08-18 20:14:41 -03:00
Martin Barreto 033b6561fe Fix #22. 2015-08-18 14:38:10 -03:00
michaelEllisUy c433a07124 Merge pull request #58 from xmartlabs/fix/57
Navigation Page Control from Twitter Pager can not be selected by a u…
2015-08-14 19:59:24 -03:00
mikeEllis 9dcbca5f38 Navigation Page Control from Twitter Pager can not be selected by a user now 2015-08-14 19:57:15 -03:00
michaelEllisUy a451e19cb5 Merge pull request #56 from xmartlabs/fix/32
Fixing Nav Button Bar Example View Controller. Updating constraints, …
2015-08-14 19:27:38 -03:00
mikeEllis f8f092ae58 Fixing Nav Button Bar Example View Controller. Updating constraints, so it doesn nott hide the embeded childTableViewController 2015-08-14 19:26:40 -03:00
Martin Barreto 4a12674439 Merge pull request #55 from xmartlabs/fix/54
fix #54
2015-08-14 18:31:13 -03:00
mikeEllis da392fe9db fix #54 2015-08-14 18:29:40 -03:00
michaelEllisUy 50837156fb Merge pull request #49 from antrix1989/line_height
Allow to specify bar line height. Hide it by default.
2015-08-13 18:12:01 -03:00
mikeEllis 312a17b8f6 Fixing bug for when changing tabs. The indicator used to jump the instant it reached half-way between tabs. 2015-08-13 17:58:08 -03:00
mikeEllis 29f382016c Fixing issue 46 2015-08-13 16:36:59 -03:00
michaelEllisUy fa5d0f799f Merge pull request #45 from jamesjychong/bugfix-buttonbar-selection
Bug Fix - Button Bar Selection on Current Page Issues
2015-08-13 16:01:43 -03:00
Sergey Demchenko d671b801c3 Allow to specify bar line height. Hide it by default. 2015-08-08 15:29:34 -07:00
Sergey Demchenko ad4b564756 Allow to specify tab button image. 2015-08-08 13:36:10 -07:00
Martin Barreto c81ef13705 Merge pull request #46 from jamesjychong/bugfix-pagerviewcontroller
Bug Fix - PagerTabStrip VC's moveToViewControllerAtIndex:animated:
2015-08-04 14:26:43 -03:00
James Chong 35019210ba Bug Fix - PagerTabStrip VC's moveToViewControllerAtIndex:animated:
Animated flag is not respected.

if (self.skipIntermediateViewControllers && ABS(self.currentIndex - index) > 1)) should only be executed when animated is enabled.
2015-08-04 19:54:08 +09:00
James Chong 2117299cbd Bug Fix - Button Bar Selection on Current Page Issues
When you select button for current page, selected bar does not update when you scroll container scroll view. The reason is that 'shouldUpdateButtonBarView' varaible does not reset back to true, because [UIScrollViewDelegate scrollViewDidEndScrollingAnimation] is never called when you select button for current page.

I resolved this issue by avoiding current page selection by comparing NSIndexPath.item with self.currentIndex.
2015-08-04 16:35:25 +09:00
Martin Barreto eee769bb3f Merge pull request #43 from xmartlabs/issue#4
issue #4 - Change the look and feel of a XLButtonBarViewCell based on the selected state
2015-08-01 19:56:18 -03:00
Martin Barreto c90cb52c4c Added ability to change tab bar style using blocks. 2015-08-01 19:58:24 -03:00
pastorin d4a9c93e46 issue #4 - Change the look and feel of a XLButtonBarViewCell based on the selected state 2015-07-31 17:06:53 -03:00
Martin Barreto 3e9b41b485 Merge pull request #39 from mad102190/master
Fixed issue where scrollPercentage would never be equal to 1.0
2015-07-31 12:34:53 -03:00
Martin Barreto 3d4ca221cb minor change 2015-07-28 22:25:15 -03:00
Martin Barreto 74326c27a6 fix #18 2015-07-28 22:05:37 -03:00
Martin Barreto 871843f49d put back viewWillAppear method. 2015-07-28 21:45:07 -03:00
Martin Barreto 8a6972e710 Merge pull request #5 from xhzengAIB/master
Add property control current page update action.
2015-07-28 21:39:43 -03:00
Matthew Davis 3e2a46a5fd Fixed issue where scrollPercentage would never be equal to 1.0 when scrollDirection was XLPagerTabStripDirectionLeft or XLPagerTabStripDirectionNone due to inaccuracies in the floating point modulo operation 2015-07-21 17:33:56 -07:00
Jack 146a25e371 fix the not update for viewDidAppear 2015-05-27 17:24:11 +08:00
Jack a8024dbe88 Merge remote-tracking branch 'origin/master' 2015-05-27 17:21:43 +08:00
Martin Barreto e9fbbb9b25 Merge pull request #27 from HelOlhausen/master
Add Appearance Behavior to PagerChildControllers
2015-05-15 19:09:57 -03:00
Helen Olhausen bf24fe65d8 Add Appearance Behavior
Add Appearance Behavior to XLPagerTabStripViewController (+1 squashed commit)
Squashed commits:
[cb18fc4] Update XLPagerTabStripViewController.m

Call viewWillAppear
2015-05-15 18:17:06 -03:00
Jack 4d61cc82f6 Add two public method 2015-05-13 23:11:17 +08:00
Jack c89f87f1d9 Merge remote-tracking branch 'origin/master'
Conflicts:
	XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.h
	XLPagerTabStrip/XL/Controllers/XLPagerTabStripViewController.m
2015-05-13 23:07:43 +08:00
pastorin 30dbf74cc1 minor change 2015-04-30 15:25:35 -03:00
Martin Barreto dd6b8086bb Back minimum system version to 7.0.
clean up code.
2015-04-29 19:51:22 -03:00
Martin Barreto 4988b4e188 Merge pull request #20 from xmartlabs/navButton
Nav button Example (issue #16)
2015-04-29 18:50:00 -03:00
pastorin 4e8e8fa992 full-sized UINavigationBar titleView 2015-04-28 10:14:17 -03:00