wenweiwei 3 年之前
父节点
当前提交
5235c8199f

+ 10 - 11
BFCommonKit.podspec

@@ -30,14 +30,20 @@ TODO: Add long description of the pod here.
 
   s.ios.deployment_target = '10.0'
 
-#  s.source_files = 'Classes/**/*'
+#  s.source_files = 'BFCommonKit/Classes/BFConfig/*'
   # subspec
+  s.subspec 'BFConfig' do |gg|
+    gg.source_files = 'BFCommonKit/Classes/BFConfig/*'
+    gg.frameworks = 'UIKit'
+  end
   s.subspec 'BFBase' do |bb|
     bb.source_files = 'BFCommonKit/Classes/BFBase/**/*'
     bb.frameworks = 'UIKit', 'WebKit'
     bb.dependency 'Alamofire','4.9.1'
     bb.dependency 'SnapKit','5.0.1'
     bb.dependency 'BFCommonKit/BFUtility'
+    bb.dependency 'BFCommonKit/BFConfig'
+    bb.dependency 'BFCommonKit/BFCategorys'
   end
   s.subspec 'BFEnums' do |ee|
     ee.source_files = 'BFCommonKit/Classes/BFEnums/*'
@@ -66,15 +72,8 @@ TODO: Add long description of the pod here.
    s.resource_bundles = {
      'BFCommon_Resources' => ['BFCommonKit/Assets/Resources/*.png']
    }
-#    s.resources = 'BFCommonKit/Assets/Resources/*.png'
+  # s.resources = 'BFCommonKit/Assets/Resources/*.png'
   # s.public_header_files = 'Pod/Classes/**/*.h'
-  # s.frameworks = 'UIKit', 'MapKit'
-#  s.frameworks = 'UIKit', 'AVFoundation','CoreMedia', 'QuartzCore'
-#  s.dependency 'Kingfisher','6.3.0'
-#  s.dependency 'KingfisherWebP','1.3.0'
-#  s.dependency 'SnapKit','5.0.1'
-#  s.dependency 'Alamofire','4.9.1'
-#  s.dependency 'KeychainAccess','4.2.2'
-#  s.dependency 'Toast-Swift','5.0.1'
-#  s.dependency 'FDFullscreenPopGesture'
+  # s.frameworks = 'UIKit', 'AVFoundation','CoreMedia', 'QuartzCore'
+  # s.dependency 'Kingfisher','6.3.0'
 end

+ 19 - 3
BFCommonKit/Classes/BFUtility/PQBFConfig.swift → BFCommonKit/Classes/BFConfig/PQBFConfig.swift

@@ -7,6 +7,22 @@
 
 import UIKit
 
+// MARK: - 风格
+
+/// 风格
+public  enum  styleColor: String {
+    case nomal = "#F1034D"
+    case green = "#3DC1C1"
+    case red = "#EE0051"
+}
+
+// MARK: - statusBar
+
+/// statusBar
+public enum  statusBarStyle {
+    case light
+    case dark
+}
 public class PQBFConfig: NSObject {
     public static let shared = PQBFConfig()
     /**
@@ -42,16 +58,16 @@ public class PQBFConfig: NSObject {
     // 主题标题色
     public var styleTitleColor: UIColor = UIColor.black
     // 裁剪主题色
-    public var cutViewStyleColor: UIColor = UIColor.hexColor(hexadecimal: "#3DC1C1")
+    public var cutViewStyleColor: UIColor = UIColor(red: 61.0 / 255.0, green: 193.0 / 255.0, blue: 193.0 / 255.0, alpha: 1)
     // 素材删除图
-    public var materialDeleteImage: UIImage? = UIImage().BF_Image(named: "deleteAudio")
+    public var materialDeleteImage: UIImage?
     // 裁剪主题色61, 193, 193
     public var cutDurationColor: UIColor = UIColor(red: 61.0 / 255.0, green: 193.0 / 255.0, blue: 193.0 / 255.0, alpha: 0.1)
     // 裁剪主题色
     public var cutViewTintColor: UIColor = UIColor.white
     // 裁剪主题色
     public var hiddenMusicMask: Bool = true
-    public var otherTintColor: UIColor = UIColor.hexColor(hexadecimal: "#F2F2F2")
+    public var otherTintColor: UIColor = UIColor(red: 242.0 / 255.0, green: 242.0 / 255.0, blue: 242.0 / 255.0, alpha: 1)
 
     // 微信登陆信息
 //    public var appInfo: WXApiInfo?

+ 0 - 0
BFCommonKit/Classes/BFCustomViews/.gitkeep


+ 0 - 0
BFCommonKit/Classes/BFCustomViews/controllers/.gitkeep


+ 0 - 0
BFCommonKit/Classes/BFCustomViews/views/.gitkeep


+ 0 - 0
BFCommonKit/Classes/BFDBManager/.gitkeep


+ 0 - 18
BFCommonKit/Classes/BFEnums/Enums.swift

@@ -760,21 +760,3 @@ public  enum  adPosition: String {
     case splashAd // 票圈视频 App 闪屏页广告位
     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
-}

+ 0 - 0
BFCommonKit/Classes/BFMacro/.gitkeep


+ 0 - 0
BFCommonKit/Classes/BFNetworkManger/.gitkeep


+ 17 - 13
Example/Podfile.lock

@@ -1,21 +1,25 @@
 PODS:
   - Alamofire (4.9.1)
-  - BFCommonKit (1.0.0):
-    - BFCommonKit/BFBase (= 1.0.0)
-    - BFCommonKit/BFCategorys (= 1.0.0)
-    - BFCommonKit/BFDebug (= 1.0.0)
-    - BFCommonKit/BFEnums (= 1.0.0)
-    - BFCommonKit/BFUtility (= 1.0.0)
-  - BFCommonKit/BFBase (1.0.0):
+  - BFCommonKit (1.0.5):
+    - BFCommonKit/BFBase (= 1.0.5)
+    - BFCommonKit/BFCategorys (= 1.0.5)
+    - BFCommonKit/BFConfig (= 1.0.5)
+    - BFCommonKit/BFDebug (= 1.0.5)
+    - BFCommonKit/BFEnums (= 1.0.5)
+    - BFCommonKit/BFUtility (= 1.0.5)
+  - BFCommonKit/BFBase (1.0.5):
     - Alamofire (= 4.9.1)
-    - SnapKit (= 5.0.1)
-  - BFCommonKit/BFCategorys (1.0.0):
+    - BFCommonKit/BFEnums
     - BFCommonKit/BFUtility
+    - SnapKit (= 5.0.1)
+  - BFCommonKit/BFCategorys (1.0.5):
     - KingfisherWebP (= 1.3.0)
-  - BFCommonKit/BFDebug (1.0.0)
-  - BFCommonKit/BFEnums (1.0.0)
-  - BFCommonKit/BFUtility (1.0.0):
+  - BFCommonKit/BFConfig (1.0.5)
+  - BFCommonKit/BFDebug (1.0.5)
+  - BFCommonKit/BFEnums (1.0.5)
+  - BFCommonKit/BFUtility (1.0.5):
     - Alamofire (= 4.9.1)
+    - BFCommonKit/BFCategorys
     - KeychainAccess (= 4.2.2)
     - Kingfisher (= 6.3.0)
     - KingfisherWebP (= 1.3.0)
@@ -56,7 +60,7 @@ EXTERNAL SOURCES:
 
 SPEC CHECKSUMS:
   Alamofire: 85e8a02c69d6020a0d734f6054870d7ecb75cf18
-  BFCommonKit: 50249e57b04c95674d59056ac7c649abbf1f4659
+  BFCommonKit: ef73e33441047145897541d476689be0a6453925
   KeychainAccess: c0c4f7f38f6fc7bbe58f5702e25f7bd2f65abf51
   Kingfisher: 6c3df386db71d82c0817a429d2c9421a77396529
   KingfisherWebP: dec17a5eb1af2658791bde1f93ae9a853678f826

+ 16 - 5
Example/Pods/Local Podspecs/BFCommonKit.podspec.json

@@ -1,6 +1,6 @@
 {
   "name": "BFCommonKit",
-  "version": "1.0.0",
+  "version": "1.0.5",
   "summary": "A short description of BFCommonKit.",
   "swift_versions": "5.0",
   "description": "TODO: Add long description of the pod here.",
@@ -14,7 +14,7 @@
   },
   "source": {
     "git": "https://git.yishihui.com/wenweiwei/BFCommonKit.git",
-    "tag": "1.0.0"
+    "tag": "1.0.5"
   },
   "platforms": {
     "ios": "10.0"
@@ -25,6 +25,11 @@
     ]
   },
   "subspecs": [
+    {
+      "name": "BFConfig",
+      "source_files": "BFCommonKit/Classes/BFConfig/*",
+      "frameworks": "UIKit"
+    },
     {
       "name": "BFBase",
       "source_files": "BFCommonKit/Classes/BFBase/**/*",
@@ -38,6 +43,12 @@
         ],
         "SnapKit": [
           "5.0.1"
+        ],
+        "BFCommonKit/BFUtility": [
+
+        ],
+        "BFCommonKit/BFEnums": [
+
         ]
       }
     },
@@ -57,9 +68,6 @@
       "dependencies": {
         "KingfisherWebP": [
           "1.3.0"
-        ],
-        "BFCommonKit/BFUtility": [
-
         ]
       }
     },
@@ -89,6 +97,9 @@
         ],
         "Toast-Swift": [
           "5.0.1"
+        ],
+        "BFCommonKit/BFCategorys": [
+
         ]
       }
     },

+ 17 - 13
Example/Pods/Manifest.lock

@@ -1,21 +1,25 @@
 PODS:
   - Alamofire (4.9.1)
-  - BFCommonKit (1.0.0):
-    - BFCommonKit/BFBase (= 1.0.0)
-    - BFCommonKit/BFCategorys (= 1.0.0)
-    - BFCommonKit/BFDebug (= 1.0.0)
-    - BFCommonKit/BFEnums (= 1.0.0)
-    - BFCommonKit/BFUtility (= 1.0.0)
-  - BFCommonKit/BFBase (1.0.0):
+  - BFCommonKit (1.0.5):
+    - BFCommonKit/BFBase (= 1.0.5)
+    - BFCommonKit/BFCategorys (= 1.0.5)
+    - BFCommonKit/BFConfig (= 1.0.5)
+    - BFCommonKit/BFDebug (= 1.0.5)
+    - BFCommonKit/BFEnums (= 1.0.5)
+    - BFCommonKit/BFUtility (= 1.0.5)
+  - BFCommonKit/BFBase (1.0.5):
     - Alamofire (= 4.9.1)
-    - SnapKit (= 5.0.1)
-  - BFCommonKit/BFCategorys (1.0.0):
+    - BFCommonKit/BFEnums
     - BFCommonKit/BFUtility
+    - SnapKit (= 5.0.1)
+  - BFCommonKit/BFCategorys (1.0.5):
     - KingfisherWebP (= 1.3.0)
-  - BFCommonKit/BFDebug (1.0.0)
-  - BFCommonKit/BFEnums (1.0.0)
-  - BFCommonKit/BFUtility (1.0.0):
+  - BFCommonKit/BFConfig (1.0.5)
+  - BFCommonKit/BFDebug (1.0.5)
+  - BFCommonKit/BFEnums (1.0.5)
+  - BFCommonKit/BFUtility (1.0.5):
     - Alamofire (= 4.9.1)
+    - BFCommonKit/BFCategorys
     - KeychainAccess (= 4.2.2)
     - Kingfisher (= 6.3.0)
     - KingfisherWebP (= 1.3.0)
@@ -56,7 +60,7 @@ EXTERNAL SOURCES:
 
 SPEC CHECKSUMS:
   Alamofire: 85e8a02c69d6020a0d734f6054870d7ecb75cf18
-  BFCommonKit: 50249e57b04c95674d59056ac7c649abbf1f4659
+  BFCommonKit: ef73e33441047145897541d476689be0a6453925
   KeychainAccess: c0c4f7f38f6fc7bbe58f5702e25f7bd2f65abf51
   Kingfisher: 6c3df386db71d82c0817a429d2c9421a77396529
   KingfisherWebP: dec17a5eb1af2658791bde1f93ae9a853678f826

文件差异内容过多而无法显示
+ 398 - 400
Example/Pods/Pods.xcodeproj/project.pbxproj


+ 1 - 1
Example/Pods/Target Support Files/BFCommonKit/BFCommonKit-Info.plist

@@ -15,7 +15,7 @@
   <key>CFBundlePackageType</key>
   <string>FMWK</string>
   <key>CFBundleShortVersionString</key>
-  <string>1.0.0</string>
+  <string>1.0.5</string>
   <key>CFBundleSignature</key>
   <string>????</string>
   <key>CFBundleVersion</key>

+ 1 - 1
Example/Pods/Target Support Files/BFCommonKit/ResourceBundle-BFCommon_Resources-BFCommonKit-Info.plist

@@ -13,7 +13,7 @@
   <key>CFBundlePackageType</key>
   <string>BNDL</string>
   <key>CFBundleShortVersionString</key>
-  <string>1.0.0</string>
+  <string>1.0.5</string>
   <key>CFBundleSignature</key>
   <string>????</string>
   <key>CFBundleVersion</key>

部分文件因为文件数量过多而无法显示