From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001
From: 单军华
Date: Wed, 11 Jul 2018 10:47:42 +0800
Subject: [PATCH] 首次上传

---
 screendisplay/Pods/CYLTabBarController/CYLTabBarController/UIViewController+CYLTabBarControllerExtention.h |  114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 114 insertions(+), 0 deletions(-)

diff --git a/screendisplay/Pods/CYLTabBarController/CYLTabBarController/UIViewController+CYLTabBarControllerExtention.h b/screendisplay/Pods/CYLTabBarController/CYLTabBarController/UIViewController+CYLTabBarControllerExtention.h
new file mode 100644
index 0000000..a0fcdae
--- /dev/null
+++ b/screendisplay/Pods/CYLTabBarController/CYLTabBarController/UIViewController+CYLTabBarControllerExtention.h
@@ -0,0 +1,114 @@
+//
+//  UIViewController+CYLTabBarControllerExtention.h
+//  CYLTabBarController
+//
+//  v1.16.0 Created by ������@iOS������������ ( http://weibo.com/luohanchenyilong/ ) on 16/2/26.
+//  Copyright �� 2016��� https://github.com/ChenYilong .All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+typedef void (^CYLPopSelectTabBarChildViewControllerCompletion)(__kindof UIViewController *selectedTabBarChildViewController);
+
+typedef void (^CYLPushOrPopCompletionHandler)(BOOL shouldPop,
+                                              __kindof UIViewController *viewControllerPopTo,
+                                              BOOL shouldPopSelectTabBarChildViewController,
+                                              NSUInteger index
+                                              );
+
+typedef void (^CYLPushOrPopCallback)(NSArray<__kindof UIViewController *> *viewControllers, CYLPushOrPopCompletionHandler completionHandler);
+
+@interface UIViewController (CYLTabBarControllerExtention)
+
+@property (nonatomic, strong, setter=cyl_setTabBadgePointView:, getter=cyl_tabBadgePointView) UIView *cyl_tabBadgePointView;
+
+@property (nonatomic, assign, setter=cyl_setTabBadgePointViewOffset:, getter=cyl_tabBadgePointViewOffset) UIOffset cyl_tabBadgePointViewOffset;
+
+@property (nonatomic, readonly, getter=cyl_isEmbedInTabBarController) BOOL cyl_embedInTabBarController;
+
+@property (nonatomic, readonly, getter=cyl_tabIndex) NSInteger cyl_tabIndex;
+
+@property (nonatomic, readonly) UIControl *cyl_tabButton;
+
+@property (nonatomic, copy, setter=cyl_setContext:, getter=cyl_context) NSString *cyl_context;
+
+@property (nonatomic, assign, setter=cyl_setPlusViewControllerEverAdded:, getter=cyl_plusViewControllerEverAdded) BOOL cyl_plusViewControllerEverAdded;
+
+/*!
+ * @attention 
+   - ��������������������������������������������������������������������������������������������������������������������������������� `-cyl_removeTabBadgePoint` ���������������������
+   - ��������� CYLPlusChildViewController ��������� TabBarItem ������������������������������������
+ */
+- (void)cyl_showTabBadgePoint;
+
+- (void)cyl_removeTabBadgePoint;
+
+- (BOOL)cyl_isShowTabBadgePoint;
+
+/*!
+ * Pop ��������� `NavigationController` ��������������������� `TabBarController` ��� `selectedViewController` ������������������������������������������������������������
+ @param index ��������������������������� `TabBar` ������ index���
+ @return ������������������������������
+ @attention ��������������������������������������������� `UIViewController` ��������������������� `UINavigationController` ������������
+ */
+- (UIViewController *)cyl_popSelectTabBarChildViewControllerAtIndex:(NSUInteger)index;
+
+/*!
+ * Pop ��������� `NavigationController` ��������������������� `TabBarController` ��� `selectedViewController` ��������������������������������������� `Block` ������������������
+ @param index ��������������������������� `TabBar` ������ index���
+ @attention ��������������������������������������������� `UIViewController` ��������������������� `UINavigationController` ������������
+ */
+- (void)cyl_popSelectTabBarChildViewControllerAtIndex:(NSUInteger)index
+                                           completion:(CYLPopSelectTabBarChildViewControllerCompletion)completion;
+
+/*!
+ * Pop ��������� `NavigationController` ��������������������� `TabBarController` ��� `selectedViewController` ������������������������������������������������������������
+ @param classType ���������������������������������������
+ @return ������������������������������
+ @attention ���������
+                - ������������������������������������ `UIViewController` ��������������������� `UINavigationController` ������������
+                - ������ TabBarViewController ��� viewControllers ������������������������ `classType` ���������������������������������������
+ 
+ */
+- (UIViewController *)cyl_popSelectTabBarChildViewControllerForClassType:(Class)classType;
+
+/*!
+ * Pop ��������� `NavigationController` ��������������������� `TabBarController` ��� `selectedViewController` ��������������������������������������� `Block` ������������������
+ @param classType ���������������������������������������
+ @attention ���������
+                - ������������������������������������ `UIViewController` ��������������������� `UINavigationController` ������������
+                - ������ TabBarViewController ��� viewControllers ������������������������ `classType` ���������������������������������������
+ */
+- (void)cyl_popSelectTabBarChildViewControllerForClassType:(Class)classType
+                                                completion:(CYLPopSelectTabBarChildViewControllerCompletion)completion;
+
+/*!
+ *@brief ��������������� `NavigationViewController` ��������������������� Push ������������������������������������ Pop ������ Push���
+ *@param viewController Pop ��� Push ��������������������������������� completionHandler ��������������� Pop ��� Push ������������
+ *@param animated Pop ��� Push ������������������
+ *@param callback ������������������ nil������������ Push���callback ���������������������������
+                 * param : viewControllers ���������������������������������������������������������
+                 * param : completionHandler ���������������������������
+                                            * param : shouldPop ������ Pop
+                                            * param : viewControllerPopTo Pop ���������������
+                                            * param : shouldPopSelectTabBarChildViewController ��������� Push ��������������������� Pop ��������� `NavigationController` ������������
+                                                                                             ���������������������
+                                                                                             NO ������������������������ NO������������������ index ���������������
+                                                                                             YES ��������� index ������������ `TabBarController` ��� `selectedViewController` ���������
+                                                                                             ��������������������� Pop ������������������������
+                                             * param : index Pop ������ `TabBarController` ��� `selectedViewController` ���������
+                                                           ��������������������� Pop ������������������������
+*/
+- (void)cyl_pushOrPopToViewController:(UIViewController *)viewController
+                             animated:(BOOL)animated
+                             callback:(CYLPushOrPopCallback)callback;
+
+/*!
+ * ������������ Push ������������������������������������������������������ Push
+ * ������������������������������������������������ ViewController ��� Push ������
+ */
+- (void)cyl_pushViewController:(UIViewController *)viewController animated:(BOOL)animated;
+
+- (UIViewController *)cyl_getViewControllerInsteadOfNavigationController;
+
+@end

--
Gitblit v1.8.0