wenweiwei 3 vuotta sitten
vanhempi
commit
dac2e43b3b

+ 3 - 1
BFCommonKit.podspec

@@ -8,7 +8,7 @@
 
 Pod::Spec.new do |s|
   s.name             = 'BFCommonKit'
-  s.version          = '1.0.6'
+  s.version          = '1.0.7'
   s.summary          = 'A short description of BFCommonKit.'
   s.swift_version    = '5.0'
 # This description is used to generate tags and improve search results.
@@ -63,10 +63,12 @@ TODO: Add long description of the pod here.
     uu.dependency 'Kingfisher','6.3.0'
     uu.dependency 'Toast-Swift','5.0.1'
     uu.dependency 'BFCommonKit/BFCategorys'
+    uu.dependency 'BFCommonKit/BFConfig'
   end
   s.subspec 'BFDebug' do |dd|
     dd.source_files = 'BFCommonKit/Classes/BFDebug/*'
     dd.frameworks = 'UIKit','MessageUI','WebKit'
+    dd.dependency 'BFCommonKit/BFCategorys'
   end
 
    s.resource_bundles = {

+ 1 - 1
BFCommonKit/Classes/BFCategorys/BFString+Ext.swift

@@ -125,7 +125,7 @@ public extension String {
                     if (scalar.properties.isEmoji && scalar.properties.isEmojiPresentation) || tempEmoji.contains(scalar) {
                         return true
                     } else {
-                        BFLog(message: "是表情==\(element),\(scalar)")
+//                        BFLog(message: "是表情==\(element),\(scalar)")
                     }
                 }
             }

+ 1 - 1
BFCommonKit/Classes/BFCategorys/BFUIView+Ext.swift

@@ -434,7 +434,7 @@ public extension UIButton {
     ///   - url: 网络url
     func setNetImage(url: String?, placeholder: UIImage = UIImage().BF_Image(named: "placehold_image")) {
         if url == nil || (url?.count ?? 0) <= 0 {
-            BFLog(message: "设置按钮网络图片地址为空")
+//            BFLog(message: "设置按钮网络图片地址为空")
             return
         }
         kf.setImage(with: URL(string: url!), for: .normal, placeholder: placeholder, options: url?.suffix(5) == ".webp" ? [.processor(WebPProcessor.default), .cacheSerializer(WebPSerializer.default)] : nil, progressBlock: { _, _ in

+ 0 - 0
BFCommonKit/Classes/BFUtility/NXDeviceManager.swift → BFCommonKit/Classes/BFDebug/NXDeviceManager.swift


+ 0 - 0
BFCommonKit/Classes/BFUtility/NXFileManager.swift → BFCommonKit/Classes/BFDebug/NXFileManager.swift


+ 6 - 6
BFCommonKit/Classes/BFUtility/PQCommonMethodUtil.swift

@@ -132,12 +132,12 @@ public func kf_imageCacheImage(originUrl: String, completeHandle: @escaping (_ i
 
 /** 打印 */
 public func BFLog<T>(message: T) {
-    let logger = NXLogger.shared
-
-    logger.level = .info
-    logger.ouput = .debuggerConsole
-
-    logger.d(message as? String ?? "")
+//    let logger = NXLogger.shared
+//
+//    logger.level = .info
+//    logger.ouput = .debuggerConsole
+//
+//    logger.d(message as? String ?? "")
 }
 
 // MARK: 获取公共参数

+ 18 - 15
Example/Podfile.lock

@@ -1,25 +1,28 @@
 PODS:
   - Alamofire (4.9.1)
-  - 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):
+  - BFCommonKit (1.0.6):
+    - BFCommonKit/BFBase (= 1.0.6)
+    - BFCommonKit/BFCategorys (= 1.0.6)
+    - BFCommonKit/BFConfig (= 1.0.6)
+    - BFCommonKit/BFDebug (= 1.0.6)
+    - BFCommonKit/BFEnums (= 1.0.6)
+    - BFCommonKit/BFUtility (= 1.0.6)
+  - BFCommonKit/BFBase (1.0.6):
     - Alamofire (= 4.9.1)
-    - BFCommonKit/BFEnums
+    - BFCommonKit/BFCategorys
+    - BFCommonKit/BFConfig
     - BFCommonKit/BFUtility
     - SnapKit (= 5.0.1)
-  - BFCommonKit/BFCategorys (1.0.5):
+  - BFCommonKit/BFCategorys (1.0.6):
     - KingfisherWebP (= 1.3.0)
-  - BFCommonKit/BFConfig (1.0.5)
-  - BFCommonKit/BFDebug (1.0.5)
-  - BFCommonKit/BFEnums (1.0.5)
-  - BFCommonKit/BFUtility (1.0.5):
+  - BFCommonKit/BFConfig (1.0.6)
+  - BFCommonKit/BFDebug (1.0.6):
+    - BFCommonKit/BFCategorys
+  - BFCommonKit/BFEnums (1.0.6)
+  - BFCommonKit/BFUtility (1.0.6):
     - Alamofire (= 4.9.1)
     - BFCommonKit/BFCategorys
+    - BFCommonKit/BFConfig
     - KeychainAccess (= 4.2.2)
     - Kingfisher (= 6.3.0)
     - KingfisherWebP (= 1.3.0)
@@ -60,7 +63,7 @@ EXTERNAL SOURCES:
 
 SPEC CHECKSUMS:
   Alamofire: 85e8a02c69d6020a0d734f6054870d7ecb75cf18
-  BFCommonKit: ef73e33441047145897541d476689be0a6453925
+  BFCommonKit: 6c5a55ae23e9c08b826f26883edfe49c55c01e02
   KeychainAccess: c0c4f7f38f6fc7bbe58f5702e25f7bd2f65abf51
   Kingfisher: 6c3df386db71d82c0817a429d2c9421a77396529
   KingfisherWebP: dec17a5eb1af2658791bde1f93ae9a853678f826

+ 15 - 4
Example/Pods/Local Podspecs/BFCommonKit.podspec.json

@@ -1,6 +1,6 @@
 {
   "name": "BFCommonKit",
-  "version": "1.0.5",
+  "version": "1.0.6",
   "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.5"
+    "tag": "1.0.6"
   },
   "platforms": {
     "ios": "10.0"
@@ -47,7 +47,10 @@
         "BFCommonKit/BFUtility": [
 
         ],
-        "BFCommonKit/BFEnums": [
+        "BFCommonKit/BFConfig": [
+
+        ],
+        "BFCommonKit/BFCategorys": [
 
         ]
       }
@@ -100,6 +103,9 @@
         ],
         "BFCommonKit/BFCategorys": [
 
+        ],
+        "BFCommonKit/BFConfig": [
+
         ]
       }
     },
@@ -110,7 +116,12 @@
         "UIKit",
         "MessageUI",
         "WebKit"
-      ]
+      ],
+      "dependencies": {
+        "BFCommonKit/BFCategorys": [
+
+        ]
+      }
     }
   ],
   "swift_version": "5.0"

+ 18 - 15
Example/Pods/Manifest.lock

@@ -1,25 +1,28 @@
 PODS:
   - Alamofire (4.9.1)
-  - 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):
+  - BFCommonKit (1.0.6):
+    - BFCommonKit/BFBase (= 1.0.6)
+    - BFCommonKit/BFCategorys (= 1.0.6)
+    - BFCommonKit/BFConfig (= 1.0.6)
+    - BFCommonKit/BFDebug (= 1.0.6)
+    - BFCommonKit/BFEnums (= 1.0.6)
+    - BFCommonKit/BFUtility (= 1.0.6)
+  - BFCommonKit/BFBase (1.0.6):
     - Alamofire (= 4.9.1)
-    - BFCommonKit/BFEnums
+    - BFCommonKit/BFCategorys
+    - BFCommonKit/BFConfig
     - BFCommonKit/BFUtility
     - SnapKit (= 5.0.1)
-  - BFCommonKit/BFCategorys (1.0.5):
+  - BFCommonKit/BFCategorys (1.0.6):
     - KingfisherWebP (= 1.3.0)
-  - BFCommonKit/BFConfig (1.0.5)
-  - BFCommonKit/BFDebug (1.0.5)
-  - BFCommonKit/BFEnums (1.0.5)
-  - BFCommonKit/BFUtility (1.0.5):
+  - BFCommonKit/BFConfig (1.0.6)
+  - BFCommonKit/BFDebug (1.0.6):
+    - BFCommonKit/BFCategorys
+  - BFCommonKit/BFEnums (1.0.6)
+  - BFCommonKit/BFUtility (1.0.6):
     - Alamofire (= 4.9.1)
     - BFCommonKit/BFCategorys
+    - BFCommonKit/BFConfig
     - KeychainAccess (= 4.2.2)
     - Kingfisher (= 6.3.0)
     - KingfisherWebP (= 1.3.0)
@@ -60,7 +63,7 @@ EXTERNAL SOURCES:
 
 SPEC CHECKSUMS:
   Alamofire: 85e8a02c69d6020a0d734f6054870d7ecb75cf18
-  BFCommonKit: ef73e33441047145897541d476689be0a6453925
+  BFCommonKit: 6c5a55ae23e9c08b826f26883edfe49c55c01e02
   KeychainAccess: c0c4f7f38f6fc7bbe58f5702e25f7bd2f65abf51
   Kingfisher: 6c3df386db71d82c0817a429d2c9421a77396529
   KingfisherWebP: dec17a5eb1af2658791bde1f93ae9a853678f826

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 193 - 165
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.5</string>
+  <string>1.0.6</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.5</string>
+  <string>1.0.6</string>
   <key>CFBundleSignature</key>
   <string>????</string>
   <key>CFBundleVersion</key>

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä