huzhiqiang %!s(int64=3) %!d(string=hai) anos
pai
achega
cfa5c6fe80
Modificáronse 2 ficheiros con 34 adicións e 60 borrados
  1. 11 37
      BFCommonKit/Classes/BFEnums/Enums.swift
  2. 23 23
      Example/Podfile.lock

+ 11 - 37
BFCommonKit/Classes/BFEnums/Enums.swift

@@ -62,7 +62,7 @@ public  enum  PAGESOURCE: String {
     case sp_follow_recommend = "shanyinApp-follow_recommend" // 由关注列表右划
     case sp_followSingle = "shanyinApp-followSingle" // 关注tab点击顶部个人头像进入某个人的关注
     case sp_followSingle_recommend = "shanyinApp-followSingle_recommend" // 关注tab点击顶部个人头像进入某个人的关注
-    case sp_mine = "shanyinApp-mine" // 我的tab
+//    case sp_mine = "shanyinApp-mine" // 我的tab
     case sp_search = "shanyinApp-search" // 搜索页
     case sp_uploadVideo = "shanyinApp-uploadVideo" // 视频制作入口
 
@@ -142,6 +142,16 @@ public  enum  PAGESOURCE: String {
     case sp_cmunit_loginPage = "loginPage" // 登陆页
     case sp_cmunit_interestedTopic = "hotTopicRecommendWindow" // 热门话题推荐页
     case sp_cmunit_cmtMsgPage = "commentMessagePage" // 评论消息页
+    
+    //点击上报:首页点击底部“我的”页面入口
+    case sp_shanyinApp_main = "shanyinApp-main"
+    //页面曝光上报:“我的”页面曝光
+    case sp_shanyinApp_mine = "shanyinApp-mine"
+    
+    func pageName(app:String) -> String {
+        // 获取AppName
+        return app + self.rawValue
+    }
 }
 
 // MARK: - objectType
@@ -360,16 +370,6 @@ public  enum  objectType: String {
     case ot_cmunit_skipBtn = "skipButton" // 点击「跳过」按钮
     case ot_cmunit_loginButton = "loginButton" // 点击「登录」按钮
     case ot_cmunit_cmtMsgItem = "commentMessageItem" // 评论消息item
-    
-    //点击上报:首页点击底部“我的”页面入口
-    case sp_shanyinApp_main = "shanyinApp-main"
-    //页面曝光上报:“我的”页面曝光
-    case sp_shanyinApp_mine = "shanyinApp-mine"
-    
-    func pageName(app:String) -> String {
-        // 获取AppName
-        return app + self.rawValue
-    }
 }
 
 // MARK: - 视频上报类型
@@ -621,15 +621,6 @@ public  enum  REFRESH_TYPE {
     case REFRESH_TYPE_AUTOFOOTER // 尾部
 }
 
-/// 滑动方向
-public  enum  moveDirection {
-    case moveDirectionNormal
-    case moveDirectionUp
-    case moveDirectionDown
-    case moveDirectionRight
-    case moveDirectionLeft
-}
-
 // MARK: - 关注跟粉丝cell类型
 
 /// 关注跟粉丝cell类型
@@ -910,20 +901,3 @@ public  enum  adPosition: String {
     case videoFlowAd // 票圈视频 App 视频流广告位
 }
 
-
-// MARK: - 风格
-
-/// 风格
-public  enum  styleColor: String {
-    case nomal = "#F1034D"
-    case green = "#3DC1C1"
-    case red = "#EE0051"
-}
-
-// MARK: - statusBar
-
-/// statusBar
-public enum  statusBarStyle {
-    case light
-    case dark
-}

+ 23 - 23
Example/Podfile.lock

@@ -1,13 +1,13 @@
 PODS:
   - Alamofire (5.4.3)
-  - BFCommonKit (1.4.0):
-    - BFCommonKit/BFBase (= 1.4.0)
-    - BFCommonKit/BFCategorys (= 1.4.0)
-    - BFCommonKit/BFConfig (= 1.4.0)
-    - BFCommonKit/BFDebug (= 1.4.0)
-    - BFCommonKit/BFEnums (= 1.4.0)
-    - BFCommonKit/BFUtility (= 1.4.0)
-  - BFCommonKit/BFBase (1.4.0):
+  - BFCommonKit (1.4.4):
+    - BFCommonKit/BFBase (= 1.4.4)
+    - BFCommonKit/BFCategorys (= 1.4.4)
+    - BFCommonKit/BFConfig (= 1.4.4)
+    - BFCommonKit/BFDebug (= 1.4.4)
+    - BFCommonKit/BFEnums (= 1.4.4)
+    - BFCommonKit/BFUtility (= 1.4.4)
+  - BFCommonKit/BFBase (1.4.4):
     - Alamofire (= 5.4.3)
     - BFCommonKit/BFCategorys
     - BFCommonKit/BFConfig
@@ -15,13 +15,13 @@ PODS:
     - FDFullscreenPopGesture (= 1.1)
     - RealmSwift (= 10.7.6)
     - SnapKit (= 5.0.1)
-  - BFCommonKit/BFCategorys (1.4.0):
+  - BFCommonKit/BFCategorys (1.4.4):
     - KingfisherWebP (= 1.3.0)
-  - BFCommonKit/BFConfig (1.4.0)
-  - BFCommonKit/BFDebug (1.4.0):
+  - BFCommonKit/BFConfig (1.4.4)
+  - BFCommonKit/BFDebug (1.4.4):
     - BFCommonKit/BFCategorys
-  - BFCommonKit/BFEnums (1.4.0)
-  - BFCommonKit/BFUtility (1.4.0):
+  - BFCommonKit/BFEnums (1.4.4)
+  - BFCommonKit/BFUtility (1.4.4):
     - Alamofire (= 5.4.3)
     - BFCommonKit/BFCategorys
     - BFCommonKit/BFConfig
@@ -35,15 +35,15 @@ PODS:
   - KingfisherWebP (1.3.0):
     - Kingfisher (~> 6.2)
     - libwebp (>= 1.1.0)
-  - libwebp (1.2.0):
-    - libwebp/demux (= 1.2.0)
-    - libwebp/mux (= 1.2.0)
-    - libwebp/webp (= 1.2.0)
-  - libwebp/demux (1.2.0):
+  - libwebp (1.2.1):
+    - libwebp/demux (= 1.2.1)
+    - libwebp/mux (= 1.2.1)
+    - libwebp/webp (= 1.2.1)
+  - libwebp/demux (1.2.1):
     - libwebp/webp
-  - libwebp/mux (1.2.0):
+  - libwebp/mux (1.2.1):
     - libwebp/demux
-  - libwebp/webp (1.2.0)
+  - libwebp/webp (1.2.1)
   - Realm (10.7.6):
     - Realm/Headers (= 10.7.6)
   - Realm/Headers (10.7.6)
@@ -74,12 +74,12 @@ EXTERNAL SOURCES:
 
 SPEC CHECKSUMS:
   Alamofire: e447a2774a40c996748296fa2c55112fdbbc42f9
-  BFCommonKit: 64ca73f4c9241b9bd954e2aa4e5880b7f43e1a74
+  BFCommonKit: 9fd8de73084c196dbd61397ada86c4545fa2c184
   FDFullscreenPopGesture: a8a620179e3d9c40e8e00256dcee1c1a27c6d0f0
   KeychainAccess: c0c4f7f38f6fc7bbe58f5702e25f7bd2f65abf51
   Kingfisher: 6c3df386db71d82c0817a429d2c9421a77396529
   KingfisherWebP: dec17a5eb1af2658791bde1f93ae9a853678f826
-  libwebp: 3aa3dfd4b00d3caf4c12b4bbc17e9b7b2df3f6fb
+  libwebp: 98a37e597e40bfdb4c911fc98f2c53d0b12d05fc
   Realm: ed860452717c8db8f4bf832b6807f7f2ce708839
   RealmSwift: e31c4ddbcc42ac879313d656b86f9ca539f6f4f4
   SnapKit: 97b92857e3df3a0c71833cce143274bf6ef8e5eb
@@ -87,4 +87,4 @@ SPEC CHECKSUMS:
 
 PODFILE CHECKSUM: 5c138dc5d174c9336dd4473cb26265c7619334aa
 
-COCOAPODS: 1.10.2
+COCOAPODS: 1.11.2