Santiago Fernandez
e7dedcd42c
adds TwitterPagerTabStripViewController & example
2016-01-22 15:23:54 -03:00
Santiago Fernandez
aec1610fcb
Merge branch 'swift' of github.com:xmartlabs/XLPagerTabStrip into swift
2016-01-22 11:55:10 -03:00
Santiago Fernandez
71f664fe44
adds ButtonBarPagerTabStripController & examples
2016-01-22 11:47:11 -03:00
Martin Barreto
6f5bde2413
clean up PagerTabStripViewController
2016-01-21 16:07:07 -03:00
Martin Barreto
bc124e2068
polish code
2016-01-21 14:45:43 -03:00
Martin Barreto
2b620d9578
polish code
2016-01-21 13:09:56 -03:00
Martin Barreto
1a31d5a938
rename pagerTabStripChildViewControllers to viewControllers
2016-01-21 12:56:03 -03:00
Martin Barreto
16c617f21a
Merge pull request #109 from xmartlabs/polishCode
...
polish code
2016-01-21 12:38:05 -03:00
Martin Barreto
b5478a2037
polish code
2016-01-21 12:36:07 -03:00
Santiago Fernandez
7265c46b20
wip
2016-01-20 19:13:53 -03:00
Martin Barreto
ceb6f843fd
work in progress
2016-01-20 16:34:05 -03:00
Santiago Fernandez
c0d57d970b
initial commit
2016-01-20 12:39:25 -03:00
Martin Barreto
a46d9dcacb
update readme pod version
2016-01-11 10:40:47 -03:00
Martin Barreto
9e50728a75
minor fix
2016-01-11 10:31:40 -03:00
Martin Barreto
7c56694414
delete unnecessary cell creation after dequeueReusableCell.
2016-01-08 15:03:56 -03:00
Martin Barreto
2197fab672
added missing pod resource.
2016-01-08 14:50:10 -03:00
Martin Barreto
1bdb34cd66
label must be added to cell content view instead of CollectionViewCell.
2016-01-08 01:16:13 -03:00
Martin Barreto
8fd4459d38
fix #85
2016-01-07 22:49:36 -03:00
Martin Barreto
2507bf0180
update minimum sdk version to iOS 8.0. fix #74
2016-01-07 19:38:38 -03:00
Martin Barreto
2d157ee679
minor fix
2016-01-07 19:20:37 -03:00
Martin Barreto
9c1476508e
fix child view controller frame when containerView (scollview) is smaller than the main controller view.
2015-12-31 13:07:10 -03:00
Martin Barreto
8c5e6a932f
clean up code.
2015-12-31 10:42:30 -03:00
Martin Barreto
595248a2d7
fix ButtonBarExampleViewController’s view margin.
2015-12-31 10:24:43 -03:00
Martin Barreto
a015ba6ade
Merge pull request #97 from xmartlabs/OliverPearmain-OliverPearmain/feature-ButtonBar-ShouldCellsFillAvailableWidth
...
Oliver pearmain oliver pearmain/feature button bar should cells fill available width
2015-12-30 11:54:01 -03:00
Martin Barreto
3190980e01
shouldCellsFillAvaliableWidth moved to XLButtonBarView
2015-12-30 12:01:38 -03:00
Martin Barreto
57bf34ec98
Merge pull request #66 from OliverPearmain/OliverPearmain/bug-ButtonBarWidthsGlitch
...
Bug fix for visual glitch with XLBarButtonPagerTabStripViewController and XLBarButtonView…
2015-12-29 14:09:13 -03:00
Martin Barreto
f7af94f20b
Merge pull request #96 from xmartlabs/antrix1989-image_for_buttons
...
Antrix1989 image for buttons
2015-12-29 14:07:48 -03:00
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
108d84a9ba
Corrected super viewDidAppear: method call.
2015-09-17 15:59:17 +01: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
7216dd22d3
Added BOOL shouldCellsFillAvailableWidth property to XLButtonBarPagerTabStripViewController so that developers can choose whether the cells should stretch to fill the screen width when there are a small number of tabs/cells. Was also necessary to fix some existing problems with rotation.
2015-08-25 12:41:35 +01:00
Oliver Pearmain
379fce8095
Bug fix for visual glitch with XLBarButtonPagerTabStripViewController and XLBarButtonView. The problem potentially occurs if the skipIntermediateViewControllers property is set to YES and the user taps on a cell in the barButton for a childViewController that isn't adjacent to the current view controller. Internally the XLBarButtonPagerTabStripViewController reorders its pagerTabStripChildViewControllers array so that the animation between view controllers skips intermediate view controllers. However if the XLBarButtonView code accesses the self. pagerTabStripChildViewControllers during the animation the view controllers are out of order and calls to [self.pagerTabStripChildViewControllers objectAtIndex:indexPath.item]; return the wrong viewController (and associated title, colour and image).
...
The solution is to use a separate (private) reordered pagerTabStripChildViewControllersForScrolling property within XLPagerTabStripViewController (thats read by the updateContent method) and leave the original pagerTabStripChildViewControllers property untouched so that anything accessing it externally still gets a correctly order version.
2015-08-25 10:05:12 +01: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