TemplateInfo 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/.gitignore +2 -0
- data/TemplateInfo.gemspec +1 -1
- data/bin/tif_create.rb +157 -0
- data/lib/TemplateInfo/version.rb +1 -1
- data/test.xctemplate/.DS_Store +0 -0
- data/test.xctemplate/TemplateInfo.plist +2830 -0
- data/test.xctemplate/TemplateInfo.xml +2842 -0
- data/test.xctemplate/libs/BeeFramework/Bee.h +35 -0
- data/test.xctemplate/libs/BeeFramework/Bee_Precompile.h +143 -0
- data/test.xctemplate/libs/BeeFramework/Core/Bee_Core.h +36 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Foundation.h +54 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Foundation.mm +33 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Log.h +64 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Log.mm +164 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Performance.h +111 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Performance.mm +122 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Runtime.h +98 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Runtime.mm +437 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Sandbox.h +45 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Sandbox.mm +81 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Singleton.h +47 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Singleton.mm +34 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_SystemInfo.h +62 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_SystemInfo.m +147 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Thread.h +64 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Bee_Thread.mm +91 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSArray+BeeExtension.h +76 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSArray+BeeExtension.m +300 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSData+BeeExtension.h +44 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSData+BeeExtension.m +92 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSDate+BeeExtension.h +44 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSDate+BeeExtension.m +85 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSDictionary+BeeExtension.h +90 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSDictionary+BeeExtension.m +509 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSNumber+BeeExtension.h +50 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSNumber+BeeExtension.m +64 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeJSON.h +43 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeJSON.m +116 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeNotification.h +66 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeNotification.m +150 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeProperty.h +210 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeProperty.m +34 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeTicker.h +41 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeTicker.m +156 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeTypeConversion.h +49 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSObject+BeeTypeConversion.m +109 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSString+BeeExtension.h +86 -0
- data/test.xctemplate/libs/BeeFramework/Core/Foundation/Extension/NSString+BeeExtension.m +464 -0
- data/test.xctemplate/libs/BeeFramework/Core/Network/Bee_Network.h +36 -0
- data/test.xctemplate/libs/BeeFramework/Core/Network/Bee_Network.m +33 -0
- data/test.xctemplate/libs/BeeFramework/Core/Network/Bee_Request.h +144 -0
- data/test.xctemplate/libs/BeeFramework/Core/Network/Bee_Request.m +560 -0
- data/test.xctemplate/libs/BeeFramework/Core/Network/Bee_RequestQueue.h +99 -0
- data/test.xctemplate/libs/BeeFramework/Core/Network/Bee_RequestQueue.m +742 -0
- data/test.xctemplate/libs/BeeFramework/Core/Network/Extension/NSObject+BeeRequest.h +62 -0
- data/test.xctemplate/libs/BeeFramework/Core/Network/Extension/NSObject+BeeRequest.m +175 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/0.2.4.zip +0 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_ActiveBase.h +133 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_ActiveBase.m +641 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_ActiveRecord.h +106 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_ActiveRecord.m +1956 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_Cache.h +91 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_Cache.m +318 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_Database.h +223 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_Database.m +3007 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_Keychain.h +55 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_Keychain.m +173 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_Storage.h +39 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Bee_Storage.m +33 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Extension/NSObject+BeeDatabase.h +47 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Extension/NSObject+BeeDatabase.m +81 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Extension/NSObject+BeeKeychain.h +44 -0
- data/test.xctemplate/libs/BeeFramework/Core/Storage/Extension/NSObject+BeeKeychain.m +57 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Bee_MVC.h +49 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Bee_Controller.h +66 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Bee_Controller.mm +228 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Bee_Message.h +209 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Bee_Message.mm +873 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Bee_MessageQueue.h +75 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Bee_MessageQueue.mm +389 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/BeeMessage+ActiveRecord.h +52 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/BeeMessage+ActiveRecord.m +150 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/BeeMessage+HTTP.h +49 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/BeeMessage+HTTP.mm +201 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/BeeMessage+JSON.h +52 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/BeeMessage+JSON.mm +118 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/BeeMessage+XML.h +49 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/BeeMessage+XML.mm +78 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/NSObject+BeeMessage.h +57 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Controller/Extension/NSObject+BeeMessage.mm +138 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Model/Bee_Model.h +64 -0
- data/test.xctemplate/libs/BeeFramework/MVC/Model/Bee_Model.m +190 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIActionSheet.h +71 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIActionSheet.m +307 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIActivityIndicatorView.h +52 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIActivityIndicatorView.m +152 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIAlertView.h +73 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIAlertView.m +234 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIButton.h +97 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIButton.m +424 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIDatePicker.h +78 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIDatePicker.m +362 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIGridCell.h +82 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIGridCell.m +298 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIImageView.h +110 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIImageView.m +541 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIKeyboard.h +74 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIKeyboard.m +243 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UILabel.h +46 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UILabel.m +99 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIMatrixView.h +124 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIMatrixView.m +821 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UINavigationBar.h +57 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UINavigationBar.m +161 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIOrientation.h +60 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIOrientation.m +146 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIPageControl.h +61 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIPageControl.m +190 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIProgressView.h +47 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIProgressView.m +113 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIPullLoader.h +71 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIPullLoader.m +236 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIScrollView.h +146 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIScrollView.m +1487 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UISegmentedControl.h +60 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UISegmentedControl.m +192 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UISignal.h +126 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UISignal.m +453 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UITabBar.h +70 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UITabBar.m +249 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UITextField.h +67 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UITextField.m +242 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UITextView.h +75 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UITextView.m +311 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UITipsView.h +184 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UITipsView.m +911 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIWebView.h +65 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIWebView.m +242 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIZoomView.h +91 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_UIZoomView.m +444 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_View.h +72 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Bee_View.m +38 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/CGRect+BeeExtension.h +79 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/CGRect+BeeExtension.m +288 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIColor+BeeExtension.h +65 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIColor+BeeExtension.m +161 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIFont+BeeExtension.h +45 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIFont+BeeExtension.m +137 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIImage+BeeExtension.h +56 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIImage+BeeExtension.m +218 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+BeeExtension.h +105 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+BeeExtension.m +556 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+BeeUISignal.h +53 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+BeeUISignal.m +104 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+HoldGesture.h +52 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+HoldGesture.m +170 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+PanGesture.h +54 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+PanGesture.m +166 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+SwipeGesture.h +54 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+SwipeGesture.m +184 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+TapGesture.h +57 -0
- data/test.xctemplate/libs/BeeFramework/MVC/View/Extension/UIView+TapGesture.m +275 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Bee_UIBoard.h +212 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Bee_UIBoard.m +1219 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Bee_UIStack.h +111 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Bee_UIStack.m +694 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Bee_UIStackGroup.h +71 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Bee_UIStackGroup.m +258 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Bee_ViewController.h +45 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Bee_ViewController.m +36 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Extension/UIViewController+BeeExtension.h +57 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Extension/UIViewController+BeeExtension.m +151 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Extension/UIViewController+BeeUISignal.h +53 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Extension/UIViewController+BeeUISignal.m +92 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Extension/UIViewController+UINavigationBar.h +72 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewController/Extension/UIViewController+UINavigationBar.m +175 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UICollection.h +59 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UICollection.m +249 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UILayout.h +199 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UILayout.m +1170 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UIQuery.h +113 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UIQuery.m +710 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UIStyle.h +66 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UIStyle.m +189 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplate.h +69 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplate.m +210 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateAndroid.h +45 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateAndroid.m +59 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateHTML.h +45 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateHTML.m +55 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateJSON.h +45 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateJSON.m +54 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateOmniGraffle.h +45 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateOmniGraffle.m +54 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateXML.h +45 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_UITemplateXML.m +438 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_ViewLayout.h +60 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Bee_ViewLayout.m +37 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/BeeUIQuery+BeeUIStyle.h +45 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/BeeUIQuery+BeeUIStyle.m +55 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/BeeUIStyle+BeeUIQuery.h +45 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/BeeUIStyle+BeeUIQuery.m +55 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIButton+BeeUIStyle.h +41 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIButton+BeeUIStyle.m +100 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIImageView+BeeUIStyle.h +41 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIImageView+BeeUIStyle.m +101 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UILabel+BeeUIStyle.h +41 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UILabel+BeeUIStyle.m +48 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UITextField+BeeUIStyle.h +41 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UITextField+BeeUIStyle.m +77 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UITextView+BeeUIStyle.h +41 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UITextView+BeeUIStyle.m +47 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIView+BeeUILayout.h +52 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIView+BeeUILayout.m +177 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIView+BeeUIQuery.h +44 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIView+BeeUIQuery.m +57 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIView+BeeUIStyle.h +50 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIView+BeeUIStyle.m +283 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIViewController+BeeUILayout.h +52 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIViewController+BeeUILayout.m +178 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIViewController+BeeUIQuery.h +44 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIViewController+BeeUIQuery.m +58 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIViewController+BeeUIStyle.h +44 -0
- data/test.xctemplate/libs/BeeFramework/MVC/ViewLayout/Extension/UIViewController+BeeUIStyle.m +57 -0
- metadata +226 -3
@@ -0,0 +1,453 @@
|
|
1
|
+
//
|
2
|
+
// ______ ______ ______
|
3
|
+
// /\ __ \ /\ ___\ /\ ___\
|
4
|
+
// \ \ __< \ \ __\_ \ \ __\_
|
5
|
+
// \ \_____\ \ \_____\ \ \_____\
|
6
|
+
// \/_____/ \/_____/ \/_____/
|
7
|
+
//
|
8
|
+
// Copyright (c) 2012 BEE creators
|
9
|
+
// http://www.whatsbug.com
|
10
|
+
//
|
11
|
+
// Permission is hereby granted, free of charge, to any person obtaining a
|
12
|
+
// copy of this software and associated documentation files (the "Software"),
|
13
|
+
// to deal in the Software without restriction, including without limitation
|
14
|
+
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
15
|
+
// and/or sell copies of the Software, and to permit persons to whom the
|
16
|
+
// Software is furnished to do so, subject to the following conditions:
|
17
|
+
//
|
18
|
+
// The above copyright notice and this permission notice shall be included in
|
19
|
+
// all copies or substantial portions of the Software.
|
20
|
+
//
|
21
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
22
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
23
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
24
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
25
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
26
|
+
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
27
|
+
// IN THE SOFTWARE.
|
28
|
+
//
|
29
|
+
//
|
30
|
+
// Bee_UISignal.m
|
31
|
+
//
|
32
|
+
|
33
|
+
#if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR)
|
34
|
+
|
35
|
+
#import "Bee_Precompile.h"
|
36
|
+
#import "Bee_UISignal.h"
|
37
|
+
#import "Bee_Singleton.h"
|
38
|
+
#import "Bee_Log.h"
|
39
|
+
#import "Bee_Performance.h"
|
40
|
+
#import "UIView+BeeExtension.h"
|
41
|
+
|
42
|
+
#import <objc/runtime.h>
|
43
|
+
|
44
|
+
#pragma mark -
|
45
|
+
|
46
|
+
#undef MAX_POOL_SIZE
|
47
|
+
#define MAX_POOL_SIZE (8)
|
48
|
+
|
49
|
+
#define __USE_FOREIGN__ (1)
|
50
|
+
|
51
|
+
#pragma mark -
|
52
|
+
|
53
|
+
@implementation NSObject(BeeUISignalResponder)
|
54
|
+
|
55
|
+
+ (NSString *)SIGNAL
|
56
|
+
{
|
57
|
+
return [self SIGNAL_TYPE];
|
58
|
+
}
|
59
|
+
|
60
|
+
+ (NSString *)SIGNAL_TYPE
|
61
|
+
{
|
62
|
+
return [NSString stringWithFormat:@"signal.%@.", [self description]];
|
63
|
+
}
|
64
|
+
|
65
|
+
- (BOOL)isUISignalResponder
|
66
|
+
{
|
67
|
+
if ( [self respondsToSelector:@selector(handleUISignal:)] )
|
68
|
+
{
|
69
|
+
return YES;
|
70
|
+
}
|
71
|
+
else
|
72
|
+
{
|
73
|
+
return NO;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
@end
|
78
|
+
|
79
|
+
#pragma mark -
|
80
|
+
|
81
|
+
@interface BeeUISignal(Private)
|
82
|
+
- (void)routes;
|
83
|
+
@end
|
84
|
+
|
85
|
+
#pragma mark -
|
86
|
+
|
87
|
+
@implementation BeeUISignal
|
88
|
+
|
89
|
+
@synthesize foreign = _foreign;
|
90
|
+
@synthesize foreignSource = _foreignSource;
|
91
|
+
|
92
|
+
@synthesize dead = _dead;
|
93
|
+
@synthesize reach = _reach;
|
94
|
+
@synthesize jump = _jump;
|
95
|
+
@synthesize source = _source;
|
96
|
+
@synthesize target = _target;
|
97
|
+
@synthesize name = _name;
|
98
|
+
@synthesize namePrefix = _namePrefix;
|
99
|
+
@synthesize object = _object;
|
100
|
+
@synthesize returnValue = _returnValue;
|
101
|
+
@synthesize preSelector = _preSelector;
|
102
|
+
|
103
|
+
@synthesize initTimeStamp = _initTimeStamp;
|
104
|
+
@synthesize sendTimeStamp = _sendTimeStamp;
|
105
|
+
@synthesize reachTimeStamp = _reachTimeStamp;
|
106
|
+
|
107
|
+
@synthesize timeElapsed;
|
108
|
+
@synthesize timeCostPending;
|
109
|
+
@synthesize timeCostExecution;
|
110
|
+
|
111
|
+
#if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
112
|
+
@synthesize callPath = _callPath;
|
113
|
+
#endif // #if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
114
|
+
|
115
|
+
DEF_STATIC_PROPERTY( YES_VALUE );
|
116
|
+
DEF_STATIC_PROPERTY( NO_VALUE );
|
117
|
+
|
118
|
+
- (id)init
|
119
|
+
{
|
120
|
+
self = [super init];
|
121
|
+
if ( self )
|
122
|
+
{
|
123
|
+
[self clear];
|
124
|
+
}
|
125
|
+
return self;
|
126
|
+
}
|
127
|
+
|
128
|
+
- (NSString *)description
|
129
|
+
{
|
130
|
+
#if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
131
|
+
return [NSString stringWithFormat:@"%@ > %@", _name, _callPath];
|
132
|
+
#else // #if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
133
|
+
return [NSString stringWithFormat:@"%@", _name];
|
134
|
+
#endif // #if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
135
|
+
}
|
136
|
+
|
137
|
+
- (BOOL)is:(NSString *)name
|
138
|
+
{
|
139
|
+
return [_name isEqualToString:name];
|
140
|
+
}
|
141
|
+
|
142
|
+
- (BOOL)isKindOf:(NSString *)prefix
|
143
|
+
{
|
144
|
+
return [_name hasPrefix:prefix];
|
145
|
+
}
|
146
|
+
|
147
|
+
- (BOOL)isSentFrom:(id)source
|
148
|
+
{
|
149
|
+
return (self.source == source) ? YES : NO;
|
150
|
+
}
|
151
|
+
|
152
|
+
- (BOOL)send
|
153
|
+
{
|
154
|
+
if ( _dead )
|
155
|
+
return NO;
|
156
|
+
|
157
|
+
#if __USE_FOREIGN__
|
158
|
+
NSArray * nameComponents = [_name componentsSeparatedByString:@"."];
|
159
|
+
if ( nameComponents.count > 2 && [[nameComponents objectAtIndex:0] isEqualToString:@"signal"] )
|
160
|
+
{
|
161
|
+
NSString * sourceClassName = [[_source class] description];
|
162
|
+
NSString * namePrefix = [nameComponents objectAtIndex:1];
|
163
|
+
|
164
|
+
if ( [sourceClassName isEqualToString:namePrefix] )
|
165
|
+
{
|
166
|
+
self.foreign = NO;
|
167
|
+
}
|
168
|
+
else
|
169
|
+
{
|
170
|
+
self.namePrefix = namePrefix;
|
171
|
+
|
172
|
+
self.foreign = YES;
|
173
|
+
self.foreignSource = self.source;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
else
|
177
|
+
{
|
178
|
+
self.foreign = NO;
|
179
|
+
}
|
180
|
+
#endif // #if __USE_FOREIGN__
|
181
|
+
|
182
|
+
_sendTimeStamp = [NSDate timeIntervalSinceReferenceDate];
|
183
|
+
|
184
|
+
#if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
185
|
+
if ( _source == _target )
|
186
|
+
{
|
187
|
+
[_callPath appendFormat:@"%@", [[_source class] description]];
|
188
|
+
}
|
189
|
+
else
|
190
|
+
{
|
191
|
+
[_callPath appendFormat:@"%@ > %@", [[_source class] description], [[_target class] description]];
|
192
|
+
}
|
193
|
+
|
194
|
+
if ( _reach )
|
195
|
+
{
|
196
|
+
[_callPath appendFormat:@" > [DONE]"];
|
197
|
+
}
|
198
|
+
#endif // #if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
199
|
+
|
200
|
+
if ( [_target isKindOfClass:[UIView class]] || [_target isKindOfClass:[UIViewController class]] )
|
201
|
+
{
|
202
|
+
_jump = 1;
|
203
|
+
|
204
|
+
[self routes];
|
205
|
+
}
|
206
|
+
else
|
207
|
+
{
|
208
|
+
_reachTimeStamp = [NSDate timeIntervalSinceReferenceDate];
|
209
|
+
_reach = YES;
|
210
|
+
}
|
211
|
+
|
212
|
+
return _reach;
|
213
|
+
}
|
214
|
+
|
215
|
+
- (BOOL)forward:(id)target
|
216
|
+
{
|
217
|
+
if ( _dead )
|
218
|
+
return NO;
|
219
|
+
|
220
|
+
#if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
221
|
+
[_callPath appendFormat:@" > %@", [[target class] description]];
|
222
|
+
|
223
|
+
if ( _reach )
|
224
|
+
{
|
225
|
+
[_callPath appendFormat:@" > [DONE]"];
|
226
|
+
}
|
227
|
+
#endif // #if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
228
|
+
|
229
|
+
#if __USE_FOREIGN__
|
230
|
+
if ( _foreign )
|
231
|
+
{
|
232
|
+
if ( self.source == self.foreignSource )
|
233
|
+
{
|
234
|
+
NSString * targetClassName = [[target class] description];
|
235
|
+
if ( [targetClassName isEqualToString:self.namePrefix] )
|
236
|
+
{
|
237
|
+
self.source = target;
|
238
|
+
}
|
239
|
+
// else
|
240
|
+
// {
|
241
|
+
// Class targetClass = NSClassFromString( targetClassName );
|
242
|
+
// Class sourceClass = NSClassFromString( self.namePrefix );
|
243
|
+
//
|
244
|
+
// if ( sourceClass == targetClass || [targetClass isSubclassOfClass:sourceClass] )
|
245
|
+
// {
|
246
|
+
// self.source = target;
|
247
|
+
// }
|
248
|
+
// }
|
249
|
+
}
|
250
|
+
}
|
251
|
+
#endif // #if __USE_FOREIGN__
|
252
|
+
|
253
|
+
if ( [_target isKindOfClass:[UIView class]] || [_target isKindOfClass:[UIViewController class]] )
|
254
|
+
{
|
255
|
+
_jump += 1;
|
256
|
+
|
257
|
+
_target = target;
|
258
|
+
|
259
|
+
[self routes];
|
260
|
+
}
|
261
|
+
else
|
262
|
+
{
|
263
|
+
_reachTimeStamp = [NSDate timeIntervalSinceReferenceDate];
|
264
|
+
_reach = YES;
|
265
|
+
}
|
266
|
+
|
267
|
+
return _reach;
|
268
|
+
}
|
269
|
+
|
270
|
+
- (void)routes
|
271
|
+
{
|
272
|
+
// forward signal to user specialized signal handler first
|
273
|
+
|
274
|
+
if ( _preSelector && _preSelector.length )
|
275
|
+
{
|
276
|
+
NSString * selectorName = [NSString stringWithFormat:@"handleUISignal_%@:", _preSelector];
|
277
|
+
SEL selector = NSSelectorFromString(selectorName);
|
278
|
+
|
279
|
+
if ( [_target respondsToSelector:selector] )
|
280
|
+
{
|
281
|
+
[_target performSelector:selector withObject:self];
|
282
|
+
return;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
// then guess signal handler
|
287
|
+
|
288
|
+
NSArray * array = [_name componentsSeparatedByString:@"."];
|
289
|
+
if ( array && array.count > 1 )
|
290
|
+
{
|
291
|
+
// NSString * prefix = (NSString *)[array objectAtIndex:0];
|
292
|
+
NSString * clazz = (NSString *)[array objectAtIndex:1];
|
293
|
+
NSString * method = (NSString *)[array objectAtIndex:2];
|
294
|
+
|
295
|
+
NSObject * targetObject = _target;
|
296
|
+
|
297
|
+
if ( [_target isKindOfClass:[UIView class]] )
|
298
|
+
{
|
299
|
+
UIViewController * viewController = [(UIView *)_target viewController];
|
300
|
+
if ( viewController )
|
301
|
+
{
|
302
|
+
targetObject = viewController;
|
303
|
+
}
|
304
|
+
}
|
305
|
+
|
306
|
+
#if defined(__BEE_SELECTOR_STYLE2__) && __BEE_SELECTOR_STYLE2__
|
307
|
+
{
|
308
|
+
NSString * selectorName;
|
309
|
+
SEL selector;
|
310
|
+
|
311
|
+
selectorName = [NSString stringWithFormat:@"handleUISignal_%@_%@:", clazz, method];
|
312
|
+
selector = NSSelectorFromString(selectorName);
|
313
|
+
|
314
|
+
if ( [targetObject respondsToSelector:selector] )
|
315
|
+
{
|
316
|
+
[targetObject performSelector:selector withObject:self];
|
317
|
+
return;
|
318
|
+
}
|
319
|
+
|
320
|
+
selectorName = [NSString stringWithFormat:@"handleUISignal_%@:", clazz];
|
321
|
+
selector = NSSelectorFromString(selectorName);
|
322
|
+
|
323
|
+
if ( [targetObject respondsToSelector:selector] )
|
324
|
+
{
|
325
|
+
[targetObject performSelector:selector withObject:self];
|
326
|
+
return;
|
327
|
+
}
|
328
|
+
}
|
329
|
+
#endif // #if defined(__BEE_SELECTOR_STYLE2__) && __BEE_SELECTOR_STYLE2__
|
330
|
+
|
331
|
+
#if defined(__BEE_SELECTOR_STYLE1__) && __BEE_SELECTOR_STYLE1__
|
332
|
+
{
|
333
|
+
NSString * selectorName;
|
334
|
+
SEL selector;
|
335
|
+
|
336
|
+
selectorName = [NSString stringWithFormat:@"handle%@:", clazz];
|
337
|
+
selector = NSSelectorFromString(selectorName);
|
338
|
+
|
339
|
+
if ( [targetObject respondsToSelector:selector] )
|
340
|
+
{
|
341
|
+
[targetObject performSelector:selector withObject:self];
|
342
|
+
return;
|
343
|
+
}
|
344
|
+
}
|
345
|
+
#endif // #if defined(__BEE_SELECTOR_STYLE1__) && __BEE_SELECTOR_STYLE1__
|
346
|
+
}
|
347
|
+
|
348
|
+
Class rtti = [_source class];
|
349
|
+
for ( ;; )
|
350
|
+
{
|
351
|
+
if ( nil == rtti )
|
352
|
+
break;
|
353
|
+
|
354
|
+
NSString * selectorName = [NSString stringWithFormat:@"handle%@:", [rtti description]];
|
355
|
+
SEL selector = NSSelectorFromString(selectorName);
|
356
|
+
|
357
|
+
if ( [_target respondsToSelector:selector] )
|
358
|
+
{
|
359
|
+
[_target performSelector:selector withObject:self];
|
360
|
+
break;
|
361
|
+
}
|
362
|
+
|
363
|
+
rtti = class_getSuperclass( rtti );
|
364
|
+
}
|
365
|
+
|
366
|
+
if ( nil == rtti )
|
367
|
+
{
|
368
|
+
if ( [_target respondsToSelector:@selector(handleUISignal:)] )
|
369
|
+
{
|
370
|
+
[_target performSelector:@selector(handleUISignal:) withObject:self];
|
371
|
+
}
|
372
|
+
}
|
373
|
+
}
|
374
|
+
|
375
|
+
- (NSTimeInterval)timeElapsed
|
376
|
+
{
|
377
|
+
return _reachTimeStamp - _initTimeStamp;
|
378
|
+
}
|
379
|
+
|
380
|
+
- (NSTimeInterval)timeCostPending
|
381
|
+
{
|
382
|
+
return _sendTimeStamp - _initTimeStamp;
|
383
|
+
}
|
384
|
+
|
385
|
+
- (NSTimeInterval)timeCostExecution
|
386
|
+
{
|
387
|
+
return _reachTimeStamp - _sendTimeStamp;
|
388
|
+
}
|
389
|
+
|
390
|
+
- (void)clear
|
391
|
+
{
|
392
|
+
self.dead = NO;
|
393
|
+
self.reach = NO;
|
394
|
+
self.jump = 0;
|
395
|
+
self.source = nil;
|
396
|
+
self.target = nil;
|
397
|
+
self.name = @"signal.nil.nil";
|
398
|
+
self.object = nil;
|
399
|
+
self.returnValue = nil;
|
400
|
+
|
401
|
+
_initTimeStamp = [NSDate timeIntervalSinceReferenceDate];
|
402
|
+
_sendTimeStamp = _initTimeStamp;
|
403
|
+
_reachTimeStamp = _initTimeStamp;
|
404
|
+
|
405
|
+
#if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
406
|
+
self.callPath = [NSMutableString string];
|
407
|
+
#endif // #if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
408
|
+
}
|
409
|
+
|
410
|
+
- (BOOL)boolValue
|
411
|
+
{
|
412
|
+
if ( self.returnValue == BeeUISignal.YES_VALUE )
|
413
|
+
{
|
414
|
+
return YES;
|
415
|
+
}
|
416
|
+
else if ( self.returnValue == BeeUISignal.NO_VALUE )
|
417
|
+
{
|
418
|
+
return NO;
|
419
|
+
}
|
420
|
+
|
421
|
+
return NO;
|
422
|
+
}
|
423
|
+
|
424
|
+
- (void)returnYES
|
425
|
+
{
|
426
|
+
self.returnValue = BeeUISignal.YES_VALUE;
|
427
|
+
}
|
428
|
+
|
429
|
+
- (void)returnNO
|
430
|
+
{
|
431
|
+
self.returnValue = BeeUISignal.NO_VALUE;
|
432
|
+
}
|
433
|
+
|
434
|
+
- (void)dealloc
|
435
|
+
{
|
436
|
+
#if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
437
|
+
[_callPath release];
|
438
|
+
#endif // #if defined(__BEE_DEVELOPMENT__) && __BEE_DEVELOPMENT__
|
439
|
+
|
440
|
+
[_name release];
|
441
|
+
[_namePrefix release];
|
442
|
+
|
443
|
+
[_object release];
|
444
|
+
[_returnValue release];
|
445
|
+
|
446
|
+
[_preSelector release];
|
447
|
+
|
448
|
+
[super dealloc];
|
449
|
+
}
|
450
|
+
|
451
|
+
@end
|
452
|
+
|
453
|
+
#endif // #if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR)
|
@@ -0,0 +1,70 @@
|
|
1
|
+
//
|
2
|
+
// ______ ______ ______
|
3
|
+
// /\ __ \ /\ ___\ /\ ___\
|
4
|
+
// \ \ __< \ \ __\_ \ \ __\_
|
5
|
+
// \ \_____\ \ \_____\ \ \_____\
|
6
|
+
// \/_____/ \/_____/ \/_____/
|
7
|
+
//
|
8
|
+
// Copyright (c) 2012 BEE creators
|
9
|
+
// http://www.whatsbug.com
|
10
|
+
//
|
11
|
+
// Permission is hereby granted, free of charge, to any person obtaining a
|
12
|
+
// copy of this software and associated documentation files (the "Software"),
|
13
|
+
// to deal in the Software without restriction, including without limitation
|
14
|
+
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
15
|
+
// and/or sell copies of the Software, and to permit persons to whom the
|
16
|
+
// Software is furnished to do so, subject to the following conditions:
|
17
|
+
//
|
18
|
+
// The above copyright notice and this permission notice shall be included in
|
19
|
+
// all copies or substantial portions of the Software.
|
20
|
+
//
|
21
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
22
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
23
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
24
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
25
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
26
|
+
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
27
|
+
// IN THE SOFTWARE.
|
28
|
+
//
|
29
|
+
//
|
30
|
+
// Bee_UITabBar.h
|
31
|
+
//
|
32
|
+
|
33
|
+
#if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR)
|
34
|
+
|
35
|
+
#import "Bee_Precompile.h"
|
36
|
+
#import "Bee_UISignal.h"
|
37
|
+
|
38
|
+
#pragma mark -
|
39
|
+
|
40
|
+
@interface BeeUITabBar : UITabBar<UITabBarDelegate>
|
41
|
+
{
|
42
|
+
NSMutableDictionary * _barSignals;
|
43
|
+
NSMutableArray * _barItems;
|
44
|
+
}
|
45
|
+
|
46
|
+
AS_SIGNAL( HIGHLIGHT_CHANGED ) // 高亮改变
|
47
|
+
|
48
|
+
@property (nonatomic, assign) NSInteger selectedIndex;
|
49
|
+
@property (nonatomic, assign) NSInteger selectedTag;
|
50
|
+
|
51
|
+
+ (BeeUITabBar *)spawn;
|
52
|
+
+ (BeeUITabBar *)spawn:(NSString *)tagString;
|
53
|
+
|
54
|
+
- (void)hilite:(NSInteger)tag; // use selectedIndex instead
|
55
|
+
|
56
|
+
- (void)addTitle:(NSString *)title;
|
57
|
+
- (void)addTitle:(NSString *)title tag:(NSInteger)tag;
|
58
|
+
- (void)addTitle:(NSString *)title tag:(NSInteger)tag signal:(NSString *)signal;
|
59
|
+
|
60
|
+
- (void)addImage:(UIImage *)image;
|
61
|
+
- (void)addImage:(UIImage *)image tag:(NSInteger)tag;
|
62
|
+
- (void)addImage:(UIImage *)image tag:(NSInteger)tag signal:(NSString *)signal;
|
63
|
+
|
64
|
+
- (void)addTitle:(NSString *)title image:(UIImage *)image;
|
65
|
+
- (void)addTitle:(NSString *)title image:(UIImage *)image tag:(NSInteger)tag;
|
66
|
+
- (void)addTitle:(NSString *)title image:(UIImage *)image tag:(NSInteger)tag signal:(NSString *)signal;
|
67
|
+
|
68
|
+
@end
|
69
|
+
|
70
|
+
#endif // #if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR)
|