You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CYLTabBarController.podspec
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Pod::Spec.newdo |s|
2
2
s.name="CYLTabBarController"
3
-
s.version="1.2.0"
3
+
s.version="1.2.1"
4
4
s.summary="Highly customizable tabBar and tabBarController for iOS"
5
5
s.description="CYLTabBarController is iPad and iPhone compatible. Supports landscape and portrait orientations and can be used inside UINavigationController."
if ([[self.plusButton class] respondsToSelector:@selector(indexOfPlusButtonInTabBar)]) {
76
76
if (CYLTabbarItemsCount % 2 == 0) {
77
-
[NSExceptionraise:@"CYLTabBarController"format:@"If the count of CYLTabbarControllers is not odd,there's no need to realizse `+indexOfPlusButtonInTabBar` in your custom plusButton class.【中文】如果CYLTabbarControllers的个数不是奇数,会自动居中,你无需在你自定义的plusButton中实现`+indexOfPlusButtonInTabBar`,来指定plusButton的位置"];
77
+
[NSExceptionraise:@"CYLTabBarController"format:@"If the count of CYLTabbarControllers is not odd,there's no need to realizse `+indexOfPlusButtonInTabBar` in your custom plusButton class.【Chinese】如果CYLTabbarControllers的个数不是奇数,会自动居中,你无需在你自定义的plusButton中实现`+indexOfPlusButtonInTabBar`,来指定plusButton的位置"];
[NSExceptionraise:@"CYLTabBarController"format:@"If the count of CYLTabbarControllers is odd,you must realizse `+indexOfPlusButtonInTabBar` in your custom plusButton class.【中文】如果CYLTabbarControllers的个数是奇数,你必须在你自定义的plusButton中实现`+indexOfPlusButtonInTabBar`,来指定plusButton的位置"];
88
+
[NSExceptionraise:@"CYLTabBarController"format:@"If the count of CYLTabbarControllers is odd,you must realizse `+indexOfPlusButtonInTabBar` in your custom plusButton class.【Chinese】如果CYLTabbarControllers的个数是奇数,你必须在你自定义的plusButton中实现`+indexOfPlusButtonInTabBar`,来指定plusButton的位置"];
89
89
}
90
90
plusButtonIndex = CYLTabbarItemsCount / 2.0;
91
91
}
@@ -118,10 +118,8 @@ - (void)layoutSubviews {
118
118
[selfbringSubviewToFront:self.plusButton];
119
119
}
120
120
121
-
/*
122
-
*
123
-
Capturing touches on a subview outside the frame of its superview
124
-
*
121
+
/**
122
+
* Capturing touches on a subview outside the frame of its superview
if (_tabBarItemsAttributes.count != _viewControllers.count) {
57
-
[NSExceptionraise:@"CYLTabBarController"format:@"The count of CYLTabBarControllers is not equal to the count of tabBarItemsAttributes.【中文】设置_tabBarItemsAttributes属性时,请确保元素个数与控制器的个数相同,并在方法`-setViewControllers:`之前设置"];
57
+
[NSExceptionraise:@"CYLTabBarController"format:@"The count of CYLTabBarControllers is not equal to the count of tabBarItemsAttributes.【Chinese】设置_tabBarItemsAttributes属性时,请确保元素个数与控制器的个数相同,并在方法`-setViewControllers:`之前设置"];
// fix strange animate when use `-[UIViewController cyl_jumpToOtherTabBarControllerItem:(Class)ClassType performSelector:arguments:returnValue:]` ,like this http://i63.tinypic.com/bg766g.jpg .
17
+
// fix strange animate when use `-[UIViewController cyl_jumpToOtherTabBarControllerItem:(Class)ClassType performSelector:arguments:returnValue:]` ,like this http://i63.tinypic.com/bg766g.jpg . If you have not used this method delete this line blow.
0 commit comments