From 83b9d5c682b21d88133f24da0f94dd56bd79e687 Mon Sep 17 00:00:00 2001 From: 单军华 Date: Thu, 19 Jul 2018 13:38:55 +0800 Subject: [PATCH] change --- screendisplay/Pods/CYLTabBarController/CYLTabBarController/CYLPlusButton.h | 93 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 93 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/CYLTabBarController/CYLTabBarController/CYLPlusButton.h b/screendisplay/Pods/CYLTabBarController/CYLTabBarController/CYLPlusButton.h new file mode 100644 index 0000000..e969bb7 --- /dev/null +++ b/screendisplay/Pods/CYLTabBarController/CYLTabBarController/CYLPlusButton.h @@ -0,0 +1,93 @@ +// +// CYLPlusButton.h +// CYLTabBarController +// +// v1.16.0 Created by ������@iOS������������ ( http://weibo.com/luohanchenyilong/ ) on 10/20/15. +// Copyright �� 2015 https://github.com/ChenYilong . All rights reserved. +// + +#import <UIKit/UIKit.h> + +#import "CYLConstants.h" +@class CYLPlusButton; + +@protocol CYLPlusButtonSubclassing + +@required ++ (id)plusButton; +@optional + +/*! + * ��������������������������������������������������������������������� + * @attention ������������������������������������������������������������ CYLTabBarController ��������� exception ������������������ + 1. ��������� PlusButton ��� TabBarItem ��������������������� + 2. ��������� `+plusChildViewController`��� + * @return ������������������������������ TabBar ��������������� + * + */ ++ (NSUInteger)indexOfPlusButtonInTabBar; + +/*! + * ������������������������ PlusButton ���������Y��������������������������������������������� tabbar ������������������������������ + * @attention ��������������������������������������������������������������������������������������������������������������������������������������������������� + * @return ������������������������������������Y������������������������ tabbar ������������ + ������������������������������������������������ PlusButton ��� centerY ������������������������ + `PlusButtonCenterY = multiplierOfTabBarHeight * tabBarHeight + constantOfPlusButtonCenterYOffset;` + ��������������������� constantOfPlusButtonCenterYOffset ���0��������� multiplierOfTabBarHeight ���������0.5��������� PlusButton ���������������0.5������ PlusButton ���������������0.5������������������ + * + */ ++ (CGFloat)multiplierOfTabBarHeight:(CGFloat)tabBarHeight; + +/*! + * ��� `+multiplierOfTabBarHeight:` ��������� + * `PlusButtonCenterY = multiplierOfTabBarHeight * tabBarHeight + constantOfPlusButtonCenterYOffset;` + * ��������������� constantOfPlusButtonCenterYOffset ������0������������������������0������������������ + * @attention ������������������������������������ `+multiplierOfTabBarHeight:` ��������������������������������������������������������������������������� + */ ++ (CGFloat)constantOfPlusButtonCenterYOffsetForTabBarHeight:(CGFloat)tabBarHeight; + +/*! + * ��������������������������� PlusButton ��������������������������������� TabBar ������������������������������������������������ UIViewController ��� + * @attention ������������������ `+indexOfPlusButtonInTabBar` ��������� PlusButton ������������ + * @return ������ PlusButton ������������������ UIViewController��� + * + */ ++ (UIViewController *)plusChildViewController; + +/*! + * + Asks the delegate whether the specified view controller should be made active. + Return YES if the view controller���s tab should be selected or NO if the current tab should remain active. + Returns YES true if the view controller���s tab should be selected or + NO false if the current tab should remain active. + */ ++ (BOOL)shouldSelectPlusChildViewController; + +#pragma mark - Deprecated API + ++ (CGFloat)multiplerInCenterY CYL_DEPRECATED("Deprecated in 1.6.0. Use `+multiplierOfTabBarHeight:` instead."); + ++ (NSString *)tabBarContext; + +@end + +@class CYLTabBar; + +FOUNDATION_EXTERN UIButton<CYLPlusButtonSubclassing> *CYLExternPlusButton; +FOUNDATION_EXTERN UIViewController *CYLPlusChildViewController; + +@interface CYLPlusButton : UIButton + ++ (void)registerPlusButton; + +- (void)plusChildViewControllerButtonClicked:(UIButton<CYLPlusButtonSubclassing> *)sender; + +@end + +#pragma mark - Deprecated API + +@interface CYLPlusButton (CYLDeprecated) + ++ (void)registerSubclass CYL_DEPRECATED("Deprecated in 1.6.0. Use `+[CYLPlusButton registerPlusButton]` instead."); + +@end -- Gitblit v1.8.0