nanxinlin лет назад: 6
Родитель
Сommit
ae54e67a91
100 измененных файлов с 629 добавлено и 3478 удалено
  1. 85 75
      RainbowPlanet/Podfile
  2. 1 50
      RainbowPlanet/Podfile.lock
  3. 341 755
      RainbowPlanet/RainbowPlanet.xcodeproj/project.pbxproj
  4. 0 21
      RainbowPlanet/RainbowPlanet/AppDelegate/APPDelegate+Bugly.swift
  5. 0 19
      RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate+BaiduMap.swift
  6. 0 18
      RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate+IQKeyboardManagerSwift.swift
  7. 0 198
      RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate+UM.swift
  8. 16 17
      RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate+Window.swift
  9. 8 16
      RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate.swift
  10. 26 0
      RainbowPlanet/RainbowPlanet/Base/BaseNavigationController/BaseNavigationViewController.swift
  11. 55 0
      RainbowPlanet/RainbowPlanet/Base/BaseTabbarViewController/BaseTabbarViewController.swift
  12. 21 0
      RainbowPlanet/RainbowPlanet/Base/BaseView/BaseView.swift
  13. 46 0
      RainbowPlanet/RainbowPlanet/Base/BaseViewController/BaseViewController.swift
  14. 30 0
      RainbowPlanet/RainbowPlanet/Base/BaseWebViewController/BaseWebViewController.swift
  15. 0 89
      RainbowPlanet/RainbowPlanet/Base/RootNavigationViewController/RootNavigationController.swift
  16. 0 52
      RainbowPlanet/RainbowPlanet/Base/RootTabbarController/RootTabbarViewController.swift
  17. 0 35
      RainbowPlanet/RainbowPlanet/Base/RootView/RootView.swift
  18. 0 140
      RainbowPlanet/RainbowPlanet/Base/RootViewController/RootViewController.swift
  19. 0 122
      RainbowPlanet/RainbowPlanet/Base/RootWebViewController/RootWebViewController.swift
  20. 0 12
      RainbowPlanet/RainbowPlanet/Define/CacheMacro.swift
  21. 0 63
      RainbowPlanet/RainbowPlanet/Define/ColorMacro.swift
  22. 0 158
      RainbowPlanet/RainbowPlanet/Define/Common.swift
  23. 0 32
      RainbowPlanet/RainbowPlanet/Define/CreaditPayment-Bridging-Header.h
  24. 0 9
      RainbowPlanet/RainbowPlanet/Define/EnumMacro.swift
  25. 0 150
      RainbowPlanet/RainbowPlanet/Define/FontMacro.swift
  26. 0 14
      RainbowPlanet/RainbowPlanet/Define/HTMLURLMacro.swift
  27. 0 19
      RainbowPlanet/RainbowPlanet/Define/NotificationCenterMacro.swift
  28. 0 32
      RainbowPlanet/RainbowPlanet/Define/ThirdPartyMacro.swift
  29. BIN
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/alipay_msp_back@2x.png
  30. BIN
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/alipay_msp_refresh@2x.png
  31. BIN
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/bar@2x.png
  32. 0 1
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/bridge.js
  33. BIN
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/refresh@2x.png
  34. BIN
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/refresh_click@2x.png
  35. BIN
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/shutdown@2x.png
  36. BIN
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/shutdown_click@2x.png
  37. BIN
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.framework/AlipaySDK
  38. BIN
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.framework/AlipaySDK-inside-Info.plist
  39. 0 33
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.framework/Headers/APayAuthInfo.h
  40. 0 203
      RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.framework/Headers/AlipaySDK.h
  41. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/CL_ShanYanSDK
  42. 0 34
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Headers/CLCompleteResult.h
  43. 0 58
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Headers/CLShanYanSDKManager.h
  44. 0 61
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Headers/CLUIConfigure.h
  45. 0 24
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Headers/CL_ShanYanSDK.h
  46. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Info.plist
  47. 0 6
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Modules/module.modulemap
  48. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/EAccountApiSDK.framework/EAccountApiSDK
  49. 0 72
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/EAccountApiSDK.framework/Headers/EAccountSDK.h
  50. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/EAccountApiSDK.framework/Info.plist
  51. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/HTMLResource.bundle/borrow_arrowleft.png
  52. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/HTMLResource.bundle/borrow_arrowleft@2x.png
  53. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/HTMLResource.bundle/e.png
  54. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/HTMLResource.bundle/topIcon-default.png
  55. 0 44
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/Headers/OAuthManager.h
  56. 0 14
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/Headers/ResultListener.h
  57. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/Info.plist
  58. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/OAuth
  59. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeDirectory
  60. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeRequirements
  61. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeRequirements-1
  62. 0 151
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeResources
  63. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeSignature
  64. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/checked.png
  65. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/checked@2x.png
  66. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/delete.png
  67. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/left_arrow.png
  68. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/left_icon.png
  69. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/left_icon@2x.png
  70. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/logo.png
  71. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/unchecked.png
  72. 0 16
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Headers/TYRZSDK.h
  73. 0 87
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Headers/TYRZUILogin.h
  74. 0 117
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Headers/UACustomModel.h
  75. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Info.plist
  76. 0 6
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Modules/module.modulemap
  77. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/TYRZSDK
  78. 0 28
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Headers/UniAuthHelper.h
  79. 0 11
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Headers/UniResultListener.h
  80. 0 19
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Headers/account_login_sdk_core.h
  81. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Info.plist
  82. 0 6
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Modules/module.modulemap
  83. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeDirectory
  84. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeRequirements
  85. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeRequirements-1
  86. 0 181
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeResources
  87. 0 0
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeSignature
  88. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/account_login_sdk_core
  89. 0 19
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/Headers/UnivAuthHelper.h
  90. 0 19
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/Headers/account_verify_sdk_core.h
  91. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/Info.plist
  92. 0 6
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/Modules/module.modulemap
  93. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeDirectory
  94. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeRequirements
  95. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeRequirements-1
  96. 0 166
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeResources
  97. 0 0
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeSignature
  98. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/account_verify_sdk_core
  99. BIN
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/uni_account_login_sdk_res.bundle/Info.plist
  100. 0 0
      RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/uni_account_login_sdk_res.bundle/UniCommonView.storyboardc/5gE-Be-tHi-view-4kc-yp-R9q.nib

+ 85 - 75
RainbowPlanet/Podfile

@@ -1,83 +1,93 @@
 # Uncomment the next line to define a global platform for your project
-platform :ios, '9.0'
-inhibit_all_warnings!
-use_frameworks!
+ platform :ios, '9.0'
 
 target 'RainbowPlanet' do
-# 网络请求
-pod 'Alamofire'
-pod 'Moya/RxSwift'
-# Rx
-pod 'RxSwift'
-pod 'RxCocoa'
-# json解析
-pod 'SwiftyJSON'
-pod 'ObjectMapper'
-# 图片加载
-pod 'Kingfisher'
-# 自动布局
-pod 'SnapKit'
-# 键盘
-pod 'IQKeyboardManagerSwift'
-# 加密
-pod 'CryptoSwift'
-# 弹框
-pod 'MBProgressHUD'
-# 下拉刷新
-pod 'MJRefresh'
-# 设备型号
-pod 'DeviceKit'
-# 轮播
-pod 'FSPagerView'
-# 分段导航栏
-pod 'XLPagerTabStrip'
-# 评分
-pod 'SwiftyStarRatingView'
-# NavigationBar过度动画
-pod 'KMNavigationBarTransition'
-pod 'UINavigation-SXFixSpace'
-# 二维码
-pod 'EFQRCode'
-# 内存检测
-pod 'MLeaksFinder'
-# 小红点
-pod 'PPBadgeViewSwift'
-# 占位图
-pod 'LYEmptyView'
-# 日期时间处理
-pod 'SwiftDate'
-# pop动画
-pod 'FWPopupView'
-# 路由
-#pod 'MGJRouter'
+  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
+  inhibit_all_warnings!
+  use_frameworks!
 
-#======================第三方平台===========
-#======================友盟===========
-# UM基础库
-pod 'UMCCommon'
-pod 'UMCSecurityPlugins'
-# 日志库(调试)
-pod 'UMCCommonLog'
-# 统计 SDK
-pod 'UMCAnalytics'
-# Push SDK
-pod 'UMCPush'
-# U-Share SDK UI模块(分享面板,建议添加)
-pod 'UMCShare/UI'
-# 集成微信(完整版14.4M)
-pod 'UMCShare/Social/WeChat'
-# 集成QQ/QZone/TIM(精简版0.5M)
-pod 'UMCShare/Social/ReducedQQ'
-# 集成新浪微博(精简版1M)
-pod 'UMCShare/Social/ReducedSina'
+  # Pods for RainbowPlanet
+  # 网络请求
+  pod 'Alamofire'
+  pod 'Moya/RxSwift'
+  # Rx
+  pod 'RxSwift'
+  pod 'RxCocoa'
+  # json解析
+  pod 'SwiftyJSON'
+  pod 'ObjectMapper'
+  # 图片加载
+  pod 'Kingfisher'
+  # 自动布局
+  pod 'SnapKit'
+  # 键盘
+  pod 'IQKeyboardManagerSwift'
+  # 加密
+  pod 'CryptoSwift'
+  # 弹框
+  pod 'MBProgressHUD'
+  # 下拉刷新
+  pod 'MJRefresh'
+  # 设备型号
+  pod 'DeviceKit'
+  # 内存检测
+  pod 'MLeaksFinder'
+  # 轮播
+#  pod 'FSPagerView'
+  # 分段导航栏
+#  pod 'XLPagerTabStrip'
+  # 评分
+#  pod 'SwiftyStarRatingView'
+  # 二维码
+#  pod 'EFQRCode'
+  # 小红点
+#  pod 'PPBadgeViewSwift'
+  # 占位图
+#  pod 'LYEmptyView'
+  # 日期时间处理
+#  pod 'SwiftDate'
+  # pop动画
+#  pod 'FWPopupView'
+  # 路由
+#  pod 'MGJRouter'
 
-#======================Bugly===========
-# 异常上报
-pod 'Bugly'
+  #======================第三方平台===========
+  #======================友盟===========
+  # UM基础库
+  pod 'UMCCommon'
+  pod 'UMCSecurityPlugins'
+  # 日志库(调试)
+  pod 'UMCCommonLog'
+  # 统计 SDK
+  pod 'UMCAnalytics'
+  # Push SDK
+  pod 'UMCPush'
+  # U-Share SDK UI模块(分享面板,建议添加)
+  pod 'UMCShare/UI'
+  # 集成微信(完整版14.4M)
+  pod 'UMCShare/Social/WeChat'
+  # 集成QQ/QZone/TIM(精简版0.5M)
+  pod 'UMCShare/Social/ReducedQQ'
+  # 集成新浪微博(精简版1M)
+  pod 'UMCShare/Social/ReducedSina'
 
-#=====================百度地图===========
-#百度地图定位SDK
-pod 'BMKLocationKit'
+  #======================Bugly===========
+  # 异常上报
+#  pod 'Bugly'
 
-end
+  #=====================百度地图===========
+  #百度地图定位SDK
+  pod 'BMKLocationKit'
+
+
+  target 'RainbowPlanetTests' do
+    inherit! :search_paths
+    # Pods for testing
+  end
 
+  target 'RainbowPlanetUITests' do
+    inherit! :search_paths
+    # Pods for testing
+  end
+
+end

+ 1 - 50
RainbowPlanet/Podfile.lock

@@ -1,19 +1,11 @@
 PODS:
   - Alamofire (4.8.1)
   - BMKLocationKit (1.4.0)
-  - Bugly (2.5.0)
   - CryptoSwift (0.14.0)
   - DeviceKit (1.11.0)
-  - EFQRCode (4.5.0):
-    - swift_qrcodejs (~> 1.0.1)
   - FBRetainCycleDetector (0.1.4)
-  - FSPagerView (0.8.2)
-  - FWPopupView (4.0.1):
-    - SnapKit
   - IQKeyboardManagerSwift (6.2.0)
   - Kingfisher (4.10.1)
-  - KMNavigationBarTransition (1.1.5)
-  - LYEmptyView (1.2.3)
   - MBProgressHUD (1.1.0)
   - MJRefresh (3.1.15.7)
   - MLeaksFinder (1.0.0):
@@ -25,7 +17,6 @@ PODS:
     - Moya/Core
     - RxSwift (~> 4.0)
   - ObjectMapper (3.4.2)
-  - PPBadgeViewSwift (2.2.2)
   - Result (4.1.0)
   - RxAtomic (4.4.1)
   - RxCocoa (4.4.1):
@@ -33,11 +24,7 @@ PODS:
   - RxSwift (4.4.1):
     - RxAtomic (~> 4.4)
   - SnapKit (4.2.0)
-  - swift_qrcodejs (1.0.1)
-  - SwiftDate (5.1.0)
   - SwiftyJSON (4.2.0)
-  - SwiftyStarRatingView (1.0.4)
-  - UINavigation-SXFixSpace (1.0.9)
   - UMCAnalytics (6.0.2):
     - UMCCommon
   - UMCCommon (2.0.0)
@@ -63,34 +50,23 @@ PODS:
   - UMCShare/UI (6.9.5):
     - UMCCommon
     - UMCShare/Core
-  - XLPagerTabStrip (8.1.0)
 
 DEPENDENCIES:
   - Alamofire
   - BMKLocationKit
-  - Bugly
   - CryptoSwift
   - DeviceKit
-  - EFQRCode
-  - FSPagerView
-  - FWPopupView
   - IQKeyboardManagerSwift
   - Kingfisher
-  - KMNavigationBarTransition
-  - LYEmptyView
   - MBProgressHUD
   - MJRefresh
   - MLeaksFinder
   - Moya/RxSwift
   - ObjectMapper
-  - PPBadgeViewSwift
   - RxCocoa
   - RxSwift
   - SnapKit
-  - SwiftDate
   - SwiftyJSON
-  - SwiftyStarRatingView
-  - UINavigation-SXFixSpace
   - UMCAnalytics
   - UMCCommon
   - UMCCommonLog
@@ -100,85 +76,60 @@ DEPENDENCIES:
   - UMCShare/Social/ReducedSina
   - UMCShare/Social/WeChat
   - UMCShare/UI
-  - XLPagerTabStrip
 
 SPEC REPOS:
   https://github.com/cocoapods/specs.git:
     - Alamofire
     - BMKLocationKit
-    - Bugly
     - CryptoSwift
     - DeviceKit
-    - EFQRCode
     - FBRetainCycleDetector
-    - FSPagerView
-    - FWPopupView
     - IQKeyboardManagerSwift
     - Kingfisher
-    - KMNavigationBarTransition
-    - LYEmptyView
     - MBProgressHUD
     - MJRefresh
     - MLeaksFinder
     - Moya
     - ObjectMapper
-    - PPBadgeViewSwift
     - Result
     - RxAtomic
     - RxCocoa
     - RxSwift
     - SnapKit
-    - swift_qrcodejs
-    - SwiftDate
     - SwiftyJSON
-    - SwiftyStarRatingView
-    - UINavigation-SXFixSpace
     - UMCAnalytics
     - UMCCommon
     - UMCCommonLog
     - UMCPush
     - UMCSecurityPlugins
     - UMCShare
-    - XLPagerTabStrip
 
 SPEC CHECKSUMS:
   Alamofire: 16ce2c353fb72865124ddae8a57c5942388f4f11
   BMKLocationKit: ca1343eea19b2f2e999d1ad51bd6a1f1220f3456
-  Bugly: 3ca9f255c01025582df26f9222893b383c7e4b4e
   CryptoSwift: 35a10419f4dbf0619c13f8c1c180037e115323fa
   DeviceKit: a3a86f8dddbe1317a9a243cdf9646858bf135dce
-  EFQRCode: 842f431e660da841f518993af8f4cbd275601d84
   FBRetainCycleDetector: 46f8179bbb1c587deee3ea838a1a3ee02acf5015
-  FSPagerView: 816a18842306973cc7cc6df8a5332272f7815c30
-  FWPopupView: a463a17aab606b0ef222a68784dbf32accba4711
   IQKeyboardManagerSwift: b07ccf9d8cafe993dcd6cb794eb4ba34611a0c4e
   Kingfisher: c148cd7b47ebde9989f6bc7c27dcaa79d81279a0
-  KMNavigationBarTransition: 7a52c9bc25b39b6e3343e980b453facee1591b82
-  LYEmptyView: ea5827f3f81fcbec427f990005501991477bdae8
   MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9
   MJRefresh: 697f8ec75ebdbe9207767bb682cf0f51b0d8a41f
   MLeaksFinder: 8c435bd2f6d070af18cff082b503b21adc130fc0
   Moya: cf730b3cd9e005401ef37a85143aa141a12fd38f
   ObjectMapper: 0d4402610f4e468903ae64629eec4784531e5c51
-  PPBadgeViewSwift: 96a41852df7437e9d948565a1bc894f757c29933
   Result: bd966fac789cc6c1563440b348ab2598cc24d5c7
   RxAtomic: f8d6adc1ccb87a767811269e4875887bc74dbf19
   RxCocoa: 2f35a76bf8887872e28a1914112395b11b8e0e64
   RxSwift: 92fcf68dfef21f3e2ab1965363d9e7b3d787597e
   SnapKit: fe8a619752f3f27075cc9a90244d75c6c3f27e2a
-  swift_qrcodejs: c181fe5c849d30c699546a23762d7e3dd143ab37
-  SwiftDate: 6329e58969a2de31cea7f1ee1143b247693196e7
   SwiftyJSON: c4bcba26dd9ec7a027fc8eade48e2c911f229e96
-  SwiftyStarRatingView: a2b0057700e0adeb8e7442c55d99cb53b531d2f4
-  UINavigation-SXFixSpace: d5cf69960794667c1315167d53658a89193ccba4
   UMCAnalytics: 901960ede5a8a85f208bd37689ad3e607b433930
   UMCCommon: 79b5a614c958db367113eed5740109d9a98e1223
   UMCCommonLog: 05a2d5de21858e3d870551562cff405c1366d244
   UMCPush: 628b5c61be5a5036cb31eb9b3a3ab8dce7521691
   UMCSecurityPlugins: 0831a08f3988f3cea9f1d3a7626cd9bee4fef150
   UMCShare: 552b29753f1b4da87b51d96545ed19e6263df397
-  XLPagerTabStrip: 22d4c58200d7c105e0e407ab6bfd01a5d85014be
 
-PODFILE CHECKSUM: 0fefd559effd28dce31e7e0f5cfbfc0b04a3dce9
+PODFILE CHECKSUM: 961526e458feb7ce2416cb8bdbc2253e07226ad0
 
 COCOAPODS: 1.5.3

Разница между файлами не показана из-за своего большого размера
+ 341 - 755
RainbowPlanet/RainbowPlanet.xcodeproj/project.pbxproj


+ 0 - 21
RainbowPlanet/RainbowPlanet/AppDelegate/APPDelegate+Bugly.swift

@@ -1,21 +0,0 @@
-//
-//  APPDelegate+Bugly.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/7/13.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import Foundation
-
-extension AppDelegate {
-    
-    func initBugly() {
-        let config = BuglyConfig.init()
-        // 设置自定义日志上报的级别,默认不上报自定义日志
-        config.reportLogLevel = BuglyLogLevel.warn
-        config.blockMonitorEnable = true
-        Bugly.start(withAppId: kBuglyAppId, config: config)
-        BuglyLog.initLogger(BuglyLogLevel.debug, consolePrint: true)
-    }
-}

+ 0 - 19
RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate+BaiduMap.swift

@@ -1,19 +0,0 @@
-//
-//  AppDelegate+BaiduMapKit.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/8/1.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import Foundation
-
-
-extension AppDelegate {
-    func initBaiduMap() -> Void {
-        BMKLocationAuth.sharedInstance()?.checkPermision(withKey: kBaiduMapAppKey, authDelegate: BaiduMapManager.getSharedInstance())
-        //定位
-        BaiduMapManager.getSharedInstance().initLocation()
-    }
-}
-

+ 0 - 18
RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate+IQKeyboardManagerSwift.swift

@@ -1,18 +0,0 @@
-//
-//  AppDelegate+IQKeyboardManagerSwift.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/7/2.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import UIKit
-import IQKeyboardManagerSwift
-
-extension AppDelegate {
-    func initIQKeyboard() {
-        IQKeyboardManager.shared.enable = true
-        IQKeyboardManager.shared.enableAutoToolbar = false
-        IQKeyboardManager.shared.shouldResignOnTouchOutside = true
-    }
-}

+ 0 - 198
RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate+UM.swift

@@ -1,198 +0,0 @@
-//
-//  AppDelegate+UM.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/8/1.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import Foundation
-import AVFoundation
-
-var _entity : UMessageRegisterEntity?
-
-extension AppDelegate {
-    
-    /// 友盟初始化
-    func initUM(launchOptions:[UIApplication.LaunchOptionsKey: Any]?) -> Void {
-        
-        //公共
-        common()
-        //推送
-        push(launchOptions: launchOptions)
-        //分享
-        UMManager.shared().share()
-        
-    }
-    
-    ///公共
-    func common() -> Void {
-        UMCommonLogManager.setUp() //开发者需要显式的调用此函数,日志系统才能工作
-        UMConfigure.setEncryptEnabled(true) //打开加密传输
-        UMConfigure.setLogEnabled(true)  //设置打开日志
-        UMConfigure.initWithAppkey(kUMengAppKey, channel: "App Store") //设置Key
-//        MobClick.setAutoPageEnabled(true) //将自动采集页面信息
-        MobClick.setCrashReportEnabled(true) //开启Crash收集
-        
-        //获得集成测试需要device_id
-        let deice_id = UMConfigure.deviceIDForIntegration()
-        if deice_id != nil {
-            print("服务器端成功返回deviceID:\(deice_id!)");
-        }else {
-            print("服务器端还没有返回deviceID");
-        }
-    }
-    
-    ///推送
-    func push(launchOptions:[UIApplication.LaunchOptionsKey: Any]?) -> Void {
-        
-        _entity = UMessageRegisterEntity.init()
-        //type是对推送的几个参数的选择,可以选择一个或者多个。默认是三个全部打开,即:声音,弹窗,角标
-        _entity?.types = Int(UInt8(UMessageAuthorizationOptions.badge.rawValue)|UInt8(UMessageAuthorizationOptions.alert.rawValue)|UInt8(UMessageAuthorizationOptions.sound.rawValue))
-        
-        if #available(iOS 8.0, *) {
-            if #available(iOS 10.0, *) {
-                
-                let action1_ios10 = UNNotificationAction(identifier: "action1_identifier", title: "打开应用", options: UNNotificationActionOptions.foreground)
-                let action2_ios10 = UNNotificationAction(identifier: "action2_identifier", title: "忽略", options: UNNotificationActionOptions.foreground)
-                
-                let category1_ios10 = UNNotificationCategory(identifier: "category1", actions: [action1_ios10,action2_ios10], intentIdentifiers: [], options: UNNotificationCategoryOptions.customDismissAction)
-                //UNNotificationCategoryOptionNone
-                //UNNotificationCategoryOptionCustomDismissAction  清除通知被触发会走通知的代理方法
-                //UNNotificationCategoryOptionAllowInCarPlay       适用于行车模式
-                let categories = NSSet(objects: category1_ios10)
-                _entity?.categories = (categories as! Set<AnyHashable>)
-                UNUserNotificationCenter.current().delegate = self
-                
-            } else {
-                let action1 = UIMutableUserNotificationAction.init()
-                action1.identifier = "action1_identifier"
-                action1.title = "打开应用"
-                action1.activationMode = UIUserNotificationActivationMode.foreground;//当点击的时候启动程序
-                
-                let action2 = UIMutableUserNotificationAction.init()
-                action2.identifier = "action2_identifier"
-                action2.title = "忽略"
-                action2.activationMode = UIUserNotificationActivationMode.background;//当点击的时候不启动程序,在后台处理
-                action2.isAuthenticationRequired = true;//需要解锁才能处理,如果action.activationMode = UIUserNotificationActivationModeForeground;则这个属性被忽略;
-                action2.isDestructive = true;
-                
-                let actionCategory1 = UIMutableUserNotificationCategory.init()
-                actionCategory1.identifier = "category1"//这组动作的唯一标示
-                actionCategory1.setActions([action1,action2], for: UIUserNotificationActionContext.default)
-                let categories = NSSet(objects: actionCategory1)
-                _entity?.categories = (categories as! Set<AnyHashable>)
-
-            }
-        }
-
-        UMessage.registerForRemoteNotifications(launchOptions: launchOptions, entity: _entity) { (granted, error) in
-
-            if granted {
-                
-            }else {
-                
-            }
-        }
-        UMessage.setBadgeClear(true)//设置是否允许SDK自动清空角标
-    }
-}
-
-
-@available(iOS 10.0, *)
-
-// MARK: - UNUserNotificationCenterDelegate
-extension AppDelegate:UNUserNotificationCenterDelegate {
-    func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
-        let userInfo = notification.request.content.userInfo
-        
-        if (notification.request.trigger?.isKind(of: UNPushNotificationTrigger.self))! {
-            UMessage.setAutoAlert(true)
-            //应用处于前台时的远程推送接受
-            //必须加这句代码
-            UMessage.didReceiveRemoteNotification(userInfo)
-
-        }else {
-            //应用处于前台时的本地推送接受
-        }
-        completionHandler(UNNotificationPresentationOptions(rawValue: UNNotificationPresentationOptions.sound.rawValue|UNNotificationPresentationOptions.alert.rawValue|UNNotificationPresentationOptions.badge.rawValue))
-    }
-    
-    func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
-        let userInfo = response.notification.request.content.userInfo
-        if (response.notification.request.trigger?.isKind(of: UNPushNotificationTrigger.self))! {
-            UMessage.setAutoAlert(true)
-            //应用处于前台时的远程推送接受
-            //必须加这句代码
-            UMessage.didReceiveRemoteNotification(userInfo)
-        }else {
-            //应用处于前台时的本地推送接受
-        }
-
-
-    }
-
-}
-
-// MARK: - 接受通知
-extension AppDelegate {
-    
-    //iOS10以下使用这两个方法接收通知,
-    func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
-        //关闭友盟自带的弹出框
-        UMessage.setAutoAlert(true)
-        if #available(iOS 8.0, *)  {
-            if #available(iOS 10.0, *){
-            }else {
-                UMessage.didReceiveRemoteNotification(userInfo)
-                completionHandler(UIBackgroundFetchResult.newData);
-            }
-        }
-    }
-    
-    func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any]) {
-        //关闭友盟自带的弹出框
-        UMessage.setAutoAlert(true)
-        if #available(iOS 8.0, *)  {
-            if #available(iOS 10.0, *){
-            }else {
-                UMessage.didReceiveRemoteNotification(userInfo)
-            }
-        }
-    }
-
-    /// 获取设备的 DeviceToken
-    func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
-        NXLLog(deviceToken.description.replacingOccurrences(of: "<", with: "").replacingOccurrences(of: ">", with: "").replacingOccurrences(of: " ", with: ""))
-    }
-}
-//MARK: - 设置系统回调
-extension AppDelegate {
-    //注:此方法在swift4.1(Xcode 9.3)已废弃,Objective-C项目不影响。 新浪 平台外的其他平台可在swift项目中使用下面两种回调方法。
-    func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
-        //6.3的新的API调用,是为了兼容国外平台(例如:新版facebookSDK,VK等)的调用[如果用6.2的api调用会没有回调],对国内平台没有影响
-        let result = UMSocialManager.default().handleOpen(url, sourceApplication: sourceApplication, annotation: annotation)
-        if (!result) {
-            // 其他如支付等SDK的回调
-        }
-        return result;
-    }
-    //仅支持iOS9以上系统,iOS8及以下系统不会回调
-    func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
-        //6.3的新的API调用,是为了兼容国外平台(例如:新版facebookSDK,VK等)的调用[如果用6.2的api调用会没有回调],对国内平台没有影响
-        let result = UMSocialManager.default().handleOpen(url, options: options)
-        if (!result) {
-            // 其他如支付等SDK的回调
-        }
-        return result;
-    }
-    //支持目前所有iOS系统
-    func application(_ application: UIApplication, handleOpen url: URL) -> Bool {
-        let result = UMSocialManager.default().handleOpen(url)
-        if (!result) {
-            // 其他如支付等SDK的回调
-        }
-        return result;
-    }
-}
-

+ 16 - 17
RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate+Window.swift

@@ -15,38 +15,37 @@ extension AppDelegate {
         window = UIWindow.init(frame: UIScreen.main.bounds)
         window?.backgroundColor = UIColor.white
         window?.makeKeyAndVisible()
-        
-        /// 设置全局的tabbar
-        setTabbarAppearence()
-        /// 设置全局的TableView/ScrollView
-        setTableViewAppearance()
+
         /// 设置Tabbar
         setTabbarController()
-        //引导页
+
+        /// 设置全局的tabbar
+        setTabbarAppearence()
+
+        /// 设置全局的navigation
+        setNavBarAppearence()
+        
+        /// 引导页
         setGuidePageView()
     }
     
     /// 设置Tabbar
     func setTabbarController() {
-        
-        self.window?.rootViewController = RootTabbarController.shared().tabBarController
+        self.window?.rootViewController = BaseTabbarViewController.shared().tabBarViewController
+    }
+
+     /// 设置全局的navigation
+    func setNavBarAppearence() {
+        WRNavigationBar.defaultStatusBarStyle = .lightContent
     }
 
     ///设置全局的Tabbar
     func setTabbarAppearence() {
-        UITabBar.appearance().isTranslucent = false
         UITabBar.appearance().backgroundImage = UIImage();
         UITabBar.appearance().backgroundColor = UIColor.white
         UITabBar.appearance().shadowImage = UIImage(named: "tab_top_line")
     }
-    
-    /// UITableView全局
-    func setTableViewAppearance() {
-        UITableView.appearance().estimatedRowHeight = 0
-        UITableView.appearance().estimatedSectionHeaderHeight = 0
-        UITableView.appearance().estimatedSectionFooterHeight = 0
-    }
-    
+
     //设置引导页
     func setGuidePageView() {
         

+ 8 - 16
RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate.swift

@@ -1,35 +1,25 @@
-
+//
 //  AppDelegate.swift
 //  RainbowPlanet
 //
-//  Created by 南鑫林 on 2018/6/30.
-//  Copyright © 2018年 南鑫林. All rights reserved.
+//  Created by 南鑫林 on 2019/3/8.
+//  Copyright © 2019 南鑫林. All rights reserved.
 //
 
 import UIKit
-import AVFoundation
-
 
 @UIApplicationMain
 class AppDelegate: UIResponder, UIApplicationDelegate {
 
     var window: UIWindow?
 
+
     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
-        //初始化地图
-        initBaiduMap()
-        //异常上报
-        initBugly()
-        //初始化键盘
-        initIQKeyboard()
-        //初始化友盟
-        initUM(launchOptions: launchOptions)
-        //初始化窗口
+        // Override point for customization after application launch.
+        /// 初始化窗口
         initWindow()
-
         return true
     }
-    
 
     func applicationWillResignActive(_ application: UIApplication) {
         // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
@@ -53,4 +43,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
         // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
     }
 
+
 }
+

+ 26 - 0
RainbowPlanet/RainbowPlanet/Base/BaseNavigationController/BaseNavigationViewController.swift

@@ -0,0 +1,26 @@
+//
+//  BaseNavigationViewController.swift
+//  RainbowPlanet
+//
+//  Created by 南鑫林 on 2019/3/8.
+//  Copyright © 2019 南鑫林. All rights reserved.
+//
+
+import UIKit
+
+class BaseNavigationViewController: UINavigationController {
+
+    override func viewDidLoad() {
+        super.viewDidLoad()
+
+        // Do any additional setup after loading the view.
+    }
+    
+    override func pushViewController(_ viewController: UIViewController, animated: Bool) {
+        if (self.children.count > 0) {
+            viewController.hidesBottomBarWhenPushed = true
+        }
+        super.pushViewController(viewController, animated: animated)
+    }
+
+}

+ 55 - 0
RainbowPlanet/RainbowPlanet/Base/BaseTabbarViewController/BaseTabbarViewController.swift

@@ -0,0 +1,55 @@
+//
+//  BaseTabbarViewController.swift
+//  RainbowPlanet
+//
+//  Created by 南鑫林 on 2019/3/8.
+//  Copyright © 2019 南鑫林. All rights reserved.
+//
+
+import UIKit
+
+class BaseTabbarViewController: UITabBarController {
+    private static let _sharedInstance = BaseTabbarViewController()
+
+    class func shared() -> BaseTabbarViewController {
+        return _sharedInstance
+    }
+
+    override func viewDidLoad() {
+        super.viewDidLoad()
+
+        // Do any additional setup after loading the view.
+    }
+
+    //MARK: - lazy
+    public lazy var tabBarViewController: BaseTabbarViewController = {
+
+        let tabBarViewController = BaseTabbarViewController()
+
+        let v1 = ShoppingMallViewController()
+        let v2 = ShoppingCartViewController()
+        let v3 = MineViewController()
+
+        let n1 = BaseNavigationViewController.init(rootViewController: v1)
+        let n2 = BaseNavigationViewController.init(rootViewController: v2)
+        let n3 = BaseNavigationViewController.init(rootViewController: v3)
+
+        tabBarItemStyle(navc: n1, normalImg: "tab_home_icon_normal", selectorImg: "tab_home_icon_selected", title: "首页")
+        tabBarItemStyle(navc: n2, normalImg: "tab_shopping_icon_normal", selectorImg: "tab_shopping_icon_selected", title: "逛街")
+        tabBarItemStyle(navc: n3, normalImg: "tab_me_icon_normal", selectorImg: "tab_me_icon_selected", title: "我的")
+
+        tabBarViewController.viewControllers = [n1, n2, n3]
+
+        return tabBarViewController
+
+    }()
+
+
+    private func tabBarItemStyle(navc : UINavigationController, normalImg : String, selectorImg : String, title : String){
+        navc.tabBarItem = UITabBarItem.init(title: title, image: UIImage(named:normalImg), selectedImage: UIImage(named:selectorImg))
+        navc.tabBarItem.setTitleTextAttributes([NSAttributedString.Key.foregroundColor:UIColor.gray], for: UIControl.State.normal)
+        navc.tabBarItem.setTitleTextAttributes([NSAttributedString.Key.foregroundColor:UIColor.blue], for: UIControl.State.selected)
+
+    }
+
+}

+ 21 - 0
RainbowPlanet/RainbowPlanet/Base/BaseView/BaseView.swift

@@ -0,0 +1,21 @@
+//
+//  BaseView.swift
+//  RainbowPlanet
+//
+//  Created by 南鑫林 on 2019/3/8.
+//  Copyright © 2019 南鑫林. All rights reserved.
+//
+
+import UIKit
+
+class BaseView: UIView {
+
+    /*
+    // Only override draw() if you perform custom drawing.
+    // An empty implementation adversely affects performance during animation.
+    override func draw(_ rect: CGRect) {
+        // Drawing code
+    }
+    */
+
+}

+ 46 - 0
RainbowPlanet/RainbowPlanet/Base/BaseViewController/BaseViewController.swift

@@ -0,0 +1,46 @@
+//
+//  BaseViewController.swift
+//  RainbowPlanet
+//
+//  Created by 南鑫林 on 2019/3/8.
+//  Copyright © 2019 南鑫林. All rights reserved.
+//
+
+import UIKit
+
+class BaseViewController: UIViewController {
+
+    lazy var navigationBar = WRCustomNavigationBar.CustomNavigationBar()
+
+    override func viewDidLoad() {
+        super.viewDidLoad()
+        navigationController?.navigationBar.isHidden = true
+        automaticallyAdjustsScrollViewInsets = false
+        view.backgroundColor = .white
+        if #available(iOS 11.0, *) {
+            UIScrollView.appearance().contentInsetAdjustmentBehavior =  .automatic
+        } else {
+            if self.responds(to: #selector(setter: self.automaticallyAdjustsScrollViewInsets)) {
+                self.automaticallyAdjustsScrollViewInsets = true
+            }
+        }
+        setupNavigationBar()
+    }
+
+    fileprivate func setupNavigationBar()
+    {
+        navigationBar.wr_setBottomLineHidden(hidden: true)
+        navigationBar.barBackgroundColor = UIColor.green
+        navigationBar.titleLabelColor = .red
+        if self.navigationController?.children.count != 1 {
+            navigationBar.wr_setLeftButton(image: UIImage(named: "navigaitionbar_back_white")!)
+        }
+        view.addSubview(navigationBar)
+    }
+
+    @objc fileprivate func back()
+    {
+        navigationController?.popViewController(animated: true)
+    }
+
+}

+ 30 - 0
RainbowPlanet/RainbowPlanet/Base/BaseWebViewController/BaseWebViewController.swift

@@ -0,0 +1,30 @@
+//
+//  BaseWebViewController.swift
+//  RainbowPlanet
+//
+//  Created by 南鑫林 on 2019/3/8.
+//  Copyright © 2019 南鑫林. All rights reserved.
+//
+
+import UIKit
+
+class BaseWebViewController: BaseViewController {
+
+    override func viewDidLoad() {
+        super.viewDidLoad()
+
+        // Do any additional setup after loading the view.
+    }
+    
+
+    /*
+    // MARK: - Navigation
+
+    // In a storyboard-based application, you will often want to do a little preparation before navigation
+    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
+        // Get the new view controller using segue.destination.
+        // Pass the selected object to the new view controller.
+    }
+    */
+
+}

+ 0 - 89
RainbowPlanet/RainbowPlanet/Base/RootNavigationViewController/RootNavigationController.swift

@@ -1,89 +0,0 @@
-//
-//  RootNavigationController.swift
-//  CreaditPayment
-//
-//  Created by 南鑫林 on 2018/6/30.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import UIKit
-
-class RootNavigationController: UINavigationController {
-
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        navigationBar.isTranslucent = false
-        //启用滑动返回(swipe back)
-        interactivePopGestureRecognizer!.delegate = self
-
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-    
-    override func pushViewController(_ viewController: UIViewController, animated: Bool) {
-        if (self.children.count > 0) {
-            viewController.navigationItem.leftBarButtonItem = UIBarButtonItem(target: self, action: #selector(backAction), image: kImage(name: "navigaitionbar_back_blue"), imageEdgeInsets: UIEdgeInsets(top: 0, left: 12, bottom: 0, right: 0))
-            viewController.hidesBottomBarWhenPushed = true
-        }
-        super.pushViewController(viewController, animated: animated)
-    }
-    
-    override var shouldAutorotate: Bool {
-        return true
-    }
-    
-    override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
-        return (self.viewControllers.last?.supportedInterfaceOrientations)!
-    }
-    override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
-        return (self.viewControllers.last?.preferredInterfaceOrientationForPresentation)!
-    }
-    override var childForStatusBarStyle: UIViewController? {
-        return self.topViewController
-    }
-    
-    // back按钮返回的事件
-    @objc func backAction() {
-        if ((self.presentingViewController) != nil) {
-            //判断1
-            self.dismiss(animated: true, completion: {
-
-            })
-        } else {
-            //判断2
-            self.popViewController(animated: true)
-        }
-    }
-}
-
-// MARK - UINavigationController
-extension UINavigationController {
-
-    /// pop到指定的页面
-    ///
-    /// - Parameter type: 控制器
-    /// - Returns: 失败
-    func popToClass<T: UIViewController>(type:T.Type) {
-        for viewController in self.viewControllers {
-            guard let _ = viewController as? T else {
-                continue
-            }
-            self.popToViewController(viewController, animated: true)
-        }
-    }
-
-}
-
-extension RootNavigationController: UIGestureRecognizerDelegate {
-    //是否允许手势
-    func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
-        if (gestureRecognizer == self.navigationController?.interactivePopGestureRecognizer) {
-            //只有二级以及以下的页面允许手势返回
-            return self.navigationController!.viewControllers.count > 1
-        }
-        return true
-    }
-}

+ 0 - 52
RainbowPlanet/RainbowPlanet/Base/RootTabbarController/RootTabbarViewController.swift

@@ -1,52 +0,0 @@
-//
-//  RootTabbarViewController.swift
-//  CreaditPayment
-//
-//  Created by 南鑫林 on 2018/6/30.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import UIKit
-
-
-class RootTabbarController: NSObject {
-
-    private static let _sharedInstance = RootTabbarController()
-
-    private override init() {} // 私有化init方法
-
-    class func shared() -> RootTabbarController {
-        return _sharedInstance
-    }
-
-    //MARK: - lazy
-    public lazy var tabBarController: UITabBarController = {
-
-        let tabBarController = UITabBarController()
-
-        let v1 = ShoppingViewController()
-        let v2 = ShoppingCartViewController()
-        let v3 = MineViewController()
-
-        let n1 = RootNavigationController.init(rootViewController: v1)
-        let n2 = RootNavigationController.init(rootViewController: v2)
-        let n3 = RootNavigationController.init(rootViewController: v3)
-
-        tabBarItemStyle(navc: n1, normalImg: "tab_home_icon_normal", selectorImg: "tab_home_icon_selected", title: "首页")
-        tabBarItemStyle(navc: n2, normalImg: "tab_shopping_icon_normal", selectorImg: "tab_shopping_icon_selected", title: "逛街")
-        tabBarItemStyle(navc: n3, normalImg: "tab_me_icon_normal", selectorImg: "tab_me_icon_selected", title: "我的")
-
-        tabBarController.viewControllers = [n1, n2, n3]
-
-        return tabBarController
-
-    }()
-
-    private func tabBarItemStyle(navc : UINavigationController, normalImg : String, selectorImg : String, title : String){
-        navc.tabBarItem = UITabBarItem.init(title: title, image: UIImage(named:normalImg), selectedImage: UIImage(named:selectorImg))
-        navc.tabBarItem.setTitleTextAttributes([NSAttributedString.Key.foregroundColor:kTabbarSelectColor], for: UIControl.State.selected)
-        navc.tabBarItem.setTitleTextAttributes([NSAttributedString.Key.foregroundColor:kTabbarNormalColor], for: UIControl.State.normal)
-
-    }
-
-}

+ 0 - 35
RainbowPlanet/RainbowPlanet/Base/RootView/RootView.swift

@@ -1,35 +0,0 @@
-//
-//  RootView.swift
-//  CreaditPayment
-//
-//  Created by 南鑫林 on 2018/7/10.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import UIKit
-import RxSwift
-import RxCocoa
-import RxAtomic
-
-class RootView: UIView {
-
-    let disposeBag = DisposeBag()
-
-    override init(frame: CGRect) {
-         super.init(frame: frame)
-         self.setupViews()
-         self.setupLayouts()
-    }
-    required init?(coder aDecoder: NSCoder) {
-        fatalError("init(coder:) has not been implemented")
-    }
-    
-    func setupViews() {
-        self.backgroundColor = UIColor.white
-    }
-    
-    func setupLayouts() {
-        
-    }
-    
-}

+ 0 - 140
RainbowPlanet/RainbowPlanet/Base/RootViewController/RootViewController.swift

@@ -1,140 +0,0 @@
-  //
-//  RootViewController.swift
-//  CreaditPayment
-//
-//  Created by 南鑫林 on 2018/6/30.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import UIKit
-
-class RootViewController: UIViewController {
-
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        self.navigationController?.navigationBar.isTranslucent = false
-        if #available(iOS 11.0, *) {
-            UIScrollView.appearance().contentInsetAdjustmentBehavior =  .automatic
-        } else {
-            if self.responds(to: #selector(setter: self.automaticallyAdjustsScrollViewInsets)) {
-                self.automaticallyAdjustsScrollViewInsets = true
-            }
-        }
-
-        //设置字体大小
-        setNavigationItemTitle()
-        setupData()
-        setupViews()
-        setupLayouts()
-        setupAutoViews()
-
-    }
-
-
-    /// 设置字体大小
-    public func setNavigationItemTitle() {
-        
-        if navigationItem.title != nil {
-            let count = (self.navigationItem.title?.count)!
-            if count <= 6 {
-                setTitleTextAttributesFont(fontSize: 17);
-            }else if count == 7 {
-                setTitleTextAttributesFont(fontSize: 16);
-            }else if count >= 8 {
-                setTitleTextAttributesFont(fontSize: 15);
-            }
-        }
-    }
-
-    /// 设置动态字体大小
-    ///
-    /// - Parameter fontSize: 设置字体大小
-    private func setTitleTextAttributesFont(fontSize: CGFloat) {
-        let dict:NSDictionary = [NSAttributedString.Key.font : UIFont.boldSystemFont(ofSize: fontSize)]
-        //
-        self.navigationController?.navigationBar.titleTextAttributes = dict as? [NSAttributedString.Key : AnyObject]
-    }
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-    
-    // MARK: - 设置view
-    func setupViews() {
-        view.backgroundColor = UIColor.white
-    }
-    
-    func setupLayouts() {
-        
-    }
-    
-    func setupData() {
-        
-    }
-    
-    func setupAutoViews() {
-        
-    }
-    
-    override var preferredStatusBarStyle: UIStatusBarStyle {
-        return .default
-    }
-
-    // MARK: - 导航栏设置
-    /**
-     导航栏添加左边图片
-     
-     @param ImageName 图片名
-     @param target 目标
-     @param action 点击方法
-     */
-    public func addLeftNavigationItem(imageName:String,target:Any,action:Selector) {
-        self.navigationItem.leftBarButtonItem = UIBarButtonItem(target: target, action: action, image: kImage(name: imageName), imageEdgeInsets: UIEdgeInsets(top: 0, left: 12, bottom: 0, right: -12))
-    }
-    
-    /**
-     导航栏添加右边图片
-     
-     @param ImageName 图片名
-     @param target 目标
-     @param action 点击方法
-     */
-    public func addRightNavigationItem(imageName:String,target:Any,action:Selector) {
-        self.navigationItem.rightBarButtonItem = UIBarButtonItem(target: target, action: action, image: kImage(name: imageName), imageEdgeInsets: UIEdgeInsets(top: 0, left: -12, bottom: 0, right: 12))
-    }
-    /**
-     导航栏添加左边title
-     
-     @param Title 标题
-     @param target 目标
-     @param action 点击方法
-     */
-    public func addLeftNavigationItem(title:String,target:Any,action:Selector) {
-        self.navigationItem.leftBarButtonItem = UIBarButtonItem(target: target, action: action, title: title)
-    }
-    /**
-     导航栏添加右边title
-     
-     @param Title 标题
-     @param target 目标
-     @param action 点击方法
-     */
-    public func addRightNavigationItem(title:String,target:Any,action:Selector) {
-        self.navigationItem.rightBarButtonItem = UIBarButtonItem(target: target, action: action, title: title)
-    }
-
-    //MARK: - 屏幕旋转
-    ///是否支持旋转
-    override var shouldAutorotate: Bool {
-        return false
-    }
-    ///当前支持的旋转类型
-    override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
-        return .portrait
-    }
-    ///默认进去类型
-    override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
-        return .portrait
-    }
-
-}

+ 0 - 122
RainbowPlanet/RainbowPlanet/Base/RootWebViewController/RootWebViewController.swift

@@ -1,122 +0,0 @@
-//
-//  RootWebViewController.swift
-//  CreaditPayment
-//
-//  Created by 南鑫林 on 2018/7/13.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import UIKit
-import WebKit
-
-class RootWebViewController: RootViewController {
-
-    
-    override func viewDidLoad() {
-        super.viewDidLoad()
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-
-    //加载普通URL
-    var URLString : String?
-    //加载本地URL
-    var HTMLName : String?
-    //加载本地的js
-    var scriptMessageHandlerArray : Array<Any>?
-    //POST加载字典
-    var parameters = [String : Any]()
-
-    //MARK: - view
-    override func setupViews() {
-        super.setupViews()
-        view.addSubview(wkWebView)
-        self.navigationItem.leftBarButtonItem = UIBarButtonItem(target: self, action: #selector(backAction), image: kImage(name: "navigaitionbar_back_blue"), imageEdgeInsets: UIEdgeInsets(top: 0, left: 12, bottom: 0, right: 0))
-    }
-     override func setupLayouts() {
-        super.setupLayouts()
-    }
-    
-    //MARK: -  action
-    @objc private func backAction() {
-        
-        self.wkWebView.webView.stopLoading()
-        if self.wkWebView.webView.canGoBack {
-            self.wkWebView.webView.goBack()
-        }else {
-            self.navigationController?.popViewController(animated: true)
-        }
-    }
-    
-
-    //MARK: - lazy
-
-    lazy var wkWebView: WebView = {
-        let wkWebView = WebView.init(frame: view.frame)
-        wkWebView.delegate = self
-        wkWebView.webConfig = webConfig
-        //// 加载普通URL
-        if (URLString != nil) {
-            wkWebView.webloadType(self, .URLString(url: URLString!))
-        }
-
-        // 加载本地URL
-        if (HTMLName != nil && scriptMessageHandlerArray != nil) {
-            webConfig.scriptMessageHandlerArray = scriptMessageHandlerArray as! [String]
-            wkWebView.webloadType(self, .HTMLName(name: HTMLName!))
-        }
-
-        // POST加载
-        if !parameters.isEmpty &&  URLString != nil {
-            wkWebView.webloadType(self, .POST(url: URLString!, parameters: parameters))
-        }
-
-        return wkWebView
-    }()
-
-    lazy var webConfig: WKWebViewConfig = {
-        var webConfig = WKWebViewConfig()
-        return webConfig
-    }()
-
-}
-
-extension RootWebViewController:WKWebViewDelegate{
-    /// 服务器开始请求的时候调用
-    func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void){
-
-    }
-
-    /// 页面开始加载
-    func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!){
-
-    }
-
-    /// 页面加载完成
-    func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!){
-
-    }
-
-    /// 跳转失败的时候调用
-    func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error){
-
-    }
-
-    /// 内容加载失败
-    func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error){
-
-    }
-
-    /// 执行JS注入方法
-    func webViewUserContentController(_ scriptMessageHandlerArray:[String], didReceive message: WKScriptMessage){
-
-    }
-
-    /// JS执行回调方法
-    func webViewEvaluateJavaScript(_ result:Any?,error:Error?){
-
-    }
-}

+ 0 - 12
RainbowPlanet/RainbowPlanet/Define/CacheMacro.swift

@@ -1,12 +0,0 @@
-//
-//  CacheMacro.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2019/1/5.
-//  Copyright © 2019 南鑫林. All rights reserved.
-//
-
-import Foundation
-
-let kLocationModelCache = "LocationModel"
-

+ 0 - 63
RainbowPlanet/RainbowPlanet/Define/ColorMacro.swift

@@ -1,63 +0,0 @@
-//
-//  ColorMacro.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/6/30.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import UIKit
-//主题色 导航栏颜色 
-let kNavBgColor = UIColor(hexString: "2d96ee")
-
-let kTabbarSelectColor = UIColor(hexString: "2d96ee")
-
-let kTabbarNormalColor = UIColor(hexString: "b1d3f1")
-
-let kDisabledButtonColor = UIColor(hexString: "b1d3f1")
-//按钮蓝色
-let kEnabledButtonColor = UIColor(hexString: "2d96ee")
-
-let k333333Color = UIColor(hexString: "333333")
-
-let k666666Color = UIColor(hexString: "666666")
-
-let k999999Color = UIColor(hexString: "999999")
-
-let keeeeeeColor = UIColor(hexString: "eeeeee")
-
-let kcececeColor = UIColor(hexString: "cecece")
-
-let k457ffdColor = UIColor(hexString: "457ffd")
-
-let kd8d8d8Color = UIColor(hexString: "d8d8d8")
-
-let kd9d9d9Color = UIColor(hexString: "d9d9d9")
-
-let kff630fColor = UIColor(hexString: "ff630f")
-
-let kff8400Color = UIColor(hexString: "ff8400")
-
-let kff481bColor = UIColor(hexString: "ff481b")
-
-let kffeae5Color = UIColor(hexString: "ffeae5")
-
-let kf82323Color = UIColor(hexString: "f82323")
-
-let kf1f1f1Color = UIColor(hexString: "f1f1f1")
-
-let kf2f2f2Color = UIColor(hexString: "f2f2f2")
-
-let kf3f3f3Color = UIColor(hexString: "f3f3f3")
-
-let kf6f6f6Color = UIColor(hexString: "f6f6f6")
-
-let kf9f9f9Color = UIColor(hexString: "f9f9f9")
-
-let kfd6031Color = UIColor(hexString: "fd6031")
-
-let kffa500Color = UIColor(hexString: "ffa500")
-
-let kff724fColor = UIColor(hexString: "ff724f")
-
-let kbfbfbfColor = UIColor(hexString: "bfbfbf")

+ 0 - 158
RainbowPlanet/RainbowPlanet/Define/Common.swift

@@ -1,158 +0,0 @@
-//
-//  Common.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/7/1.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import UIKit
-import DeviceKit
-import SnapKit
-import SwiftyJSON
-import ObjectMapper
-import RxAtomic
-import RxCocoa
-import RxSwift
-import Kingfisher
-
-
-//MARK: - 屏幕的高度
-
-///屏幕宽度
-let kScreenWidth = UIScreen.main.bounds.size.width
-///屏幕高度
-let kScreenHeight = UIScreen.main.bounds.size.height
-
-/// 屏幕宽比例
-let kScaleWidth = kScreenWidth/375.0
-/// 屏幕高比例
-let kScaleHeight = kScreenHeight/667.0
-/// 比例值
-func kScaleValue(value:CGFloat) -> CGFloat {
-    return kScreenWidth / 375.0 * value
-}
-
-///状态栏高度
-let kStatusBarHeight = UIApplication.shared.statusBarFrame.size.height
-///navigation高度
-let kNavBarHeight = 44.0;
-///状态栏顶部的高度
-let kStatusBarTopHeight = statusBarTopHeight()
-///kNavBar高度
-let kNavBarBottom  =  navBarBottom()
-///tabbar高度
-let kTabBarHeight  =  tabBarHeight()
-///tabbar安全高度
-let kSafeTabBarHeight = safeTabBarHeight()
-///视图的内容高度包含tabbar
-let kContentTabbarHeight = kScreenHeight - kNavBarBottom
-///视图的内容安全高度包含tabbar
-let kContentSafeTabbarHeight = kScreenHeight - kNavBarBottom - kSafeTabBarHeight
-///视图的内容高度不包含tabbar
-let kContentHeight = kScreenHeight - kNavBarBottom - kTabBarHeight
-///navBar的高度
-func navBarBottom() -> CGFloat {
-    return isIphoneX() ? 88.0 : 64.0
-}
-///tabBar高度
-func tabBarHeight() -> CGFloat {
-    return isIphoneX() ? 83.0 : 49.0
-}
-///tabbar安全高度
-func safeTabBarHeight() -> CGFloat {
-    return isIphoneX() ? 34.0 : 0.0
-}
-///状态栏顶部的高度
-private func statusBarTopHeight() -> CGFloat {
-    return isIphoneX() ? kStatusBarHeight : 0.0
-}
-///是不是.iPhoneX,.iPhoneXr,.iPhoneXs,.iPhoneXsMax
-private func isIphoneX() -> Bool {
-    
-    let groupOfAllowedDevices: [Device] = [.iPhoneX,.iPhoneXr,.iPhoneXs,.iPhoneXsMax,.simulator(.iPhoneX),.simulator(.iPhoneXr),.simulator(.iPhoneXs),.simulator(.iPhoneXsMax)]
-    let device = Device()
-    if device.isOneOf(groupOfAllowedDevices) {
-        return true
-    }else {
-        return false
-    }
-}
-
-//MARK: - 返回本地图片
-/// 返回本地图片
-///
-/// - Parameter name: 图片名字
-/// - Returns: 图片
-func kImage(name :String) -> UIImage? {
-    return UIImage(named: name)
-}
-
-//MARK: - 返回url图片
-/// 返回url图片
-///
-/// - Parameter name: 图片url
-/// - Returns: 图片
-func kURLImage(name :String) -> URL? {
-    return URL(string: name)
-}
-
-//MARK: - 返回一个颜色
-/// 返回一个颜色
-///
-/// - Parameters:
-///   - r: 红色
-///   - g: 黄
-///   - b: 蓝色
-/// - Returns: 颜色
-func kRGBColor(r:Float , g:Float , b:Float) -> UIColor {
-    return UIColor(red: (CGFloat(r/255.0)), green: (CGFloat(g/255.0)), blue: (CGFloat(b/255.0)), alpha: 1.0)
-}
-
-//MARK: - 返回一个颜色
-/// 返回一个颜色
-///
-/// - Parameters:
-///   - r: 红色
-///   - g: 黄
-///   - b: 蓝色
-///   - a: 透明度
-/// - Returns: 颜色
-func kRGBAColor(r:Float , g:Float , b:Float, a:Float) -> UIColor {
-    return UIColor(red: (CGFloat(r/255.0)), green: (CGFloat(g/255.0)), blue: (CGFloat(b/255.0)), alpha: CGFloat(a))
-}
-
-
-
-/// 代码延迟运行
-///
-/// - Parameters:
-///   - delayTime: 延时时间。比如:.seconds(5)、.milliseconds(500)
-///   - qosClass: 要使用的全局QOS类(默认为 nil,表示主线程)
-///   - closure: 延迟运行的代码
-func delay(by delayTime: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil,
-           _ closure: @escaping () -> Void) {
-    let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : .main
-    dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
-}
-
-func getCurrentVC() -> UIViewController {
-    let keywindow = (UIApplication.shared.delegate as! AppDelegate).window//UIApplication.shared.keyWindow使用此有时会崩溃
-    let firstView: UIView = (keywindow?.subviews.first)!
-    let secondView: UIView = firstView.subviews.first!
-    var vc = viewForController(view: secondView)!
-    vc = ((vc as! UITabBarController).selectedViewController! as! UINavigationController).visibleViewController!
-
-    return vc
-}
-
-private func viewForController(view:UIView)->UIViewController?{
-    var next:UIView? = view
-    repeat{
-        if let nextResponder = next?.next, nextResponder is UIViewController {
-            return (nextResponder as! UIViewController)
-        }
-        next = next?.superview
-    }while next != nil
-    return nil
-}

+ 0 - 32
RainbowPlanet/RainbowPlanet/Define/CreaditPayment-Bridging-Header.h

@@ -1,32 +0,0 @@
-//
-//  RainbowPlanet-Bridging-Header.h
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2019/3/7.
-//  Copyright © 2019 南鑫林. All rights reserved.
-//
-
-#ifndef RainbowPlanet_Bridging_Header_h
-#define RainbowPlanet_Bridging_Header_h
-
-//提示框
-#import <MBProgressHUD/MBProgressHUD.h>
-#import "UIBarButtonItem+SXCreate.h"
-
-
-//友盟
-#import <UMCommon/UMCommon.h>
-#import <UMPush/UMessage.h>
-#import <UMShare/UMShare.h>
-#import <UMAnalytics/MobClick.h>
-#import <UMCommonLog/UMCommonLogHeaders.h>
-#import <UMShare/UMShare.h>
-#import <UShareUI/UShareUI.h>
-
-//百度定位
-#import <BMKLocationkit/BMKLocationComponent.h>
-
-//异常上报
-#import <Bugly/Bugly.h>
-
-#endif /* RainbowPlanet_Bridging_Header_h */

+ 0 - 9
RainbowPlanet/RainbowPlanet/Define/EnumMacro.swift

@@ -1,9 +0,0 @@
-//
-//  EnumMacro.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/11/17.
-//  Copyright © 2018 南鑫林. All rights reserved.
-//
-
-import Foundation

+ 0 - 150
RainbowPlanet/RainbowPlanet/Define/FontMacro.swift

@@ -1,150 +0,0 @@
-//
-//  FontMacro.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/12/11.
-//  Copyright © 2018 南鑫林. All rights reserved.
-//
-
-import UIKit
-
-let kBoldFont10 = UIFont.boldSystemFont(ofSize: 10)
-let kBoldFont11 = UIFont.boldSystemFont(ofSize: 11)
-let kBoldFont12 = UIFont.boldSystemFont(ofSize: 12)
-let kBoldFont13 = UIFont.boldSystemFont(ofSize: 13)
-let kBoldFont14 = UIFont.boldSystemFont(ofSize: 14)
-let kBoldFont15 = UIFont.boldSystemFont(ofSize: 15)
-let kBoldFont16 = UIFont.boldSystemFont(ofSize: 16)
-let kBoldFont17 = UIFont.boldSystemFont(ofSize: 17)
-let kBoldFont18 = UIFont.boldSystemFont(ofSize: 18)
-let kBoldFont19 = UIFont.boldSystemFont(ofSize: 19)
-let kBoldFont20 = UIFont.boldSystemFont(ofSize: 20)
-let kBoldFont21 = UIFont.boldSystemFont(ofSize: 21)
-let kBoldFont30 = UIFont.boldSystemFont(ofSize: 30)
-let kBoldFont36 = UIFont.boldSystemFont(ofSize: 36)
-let kBoldFont40 = UIFont.boldSystemFont(ofSize: 40)
-
-let kMediumFont10 = UIFont(name: "PingFang-SC-Medium", size: 10)
-let kMediumFont11 = UIFont(name: "PingFang-SC-Medium", size: 11)
-let kMediumFont12 = UIFont(name: "PingFang-SC-Medium", size: 12)
-let kMediumFont13 = UIFont(name: "PingFang-SC-Medium", size: 13)
-let kMediumFont14 = UIFont(name: "PingFang-SC-Medium", size: 14)
-let kMediumFont15 = UIFont(name: "PingFang-SC-Medium", size: 15)
-let kMediumFont16 = UIFont(name: "PingFang-SC-Medium", size: 16)
-let kMediumFont17 = UIFont(name: "PingFang-SC-Medium", size: 17)
-let kMediumFont18 = UIFont(name: "PingFang-SC-Medium", size: 18)
-let kMediumFont24 = UIFont(name: "PingFang-SC-Medium", size: 24)
-let kMediumFont25 = UIFont(name: "PingFang-SC-Medium", size: 25)
-let kMediumFont27 = UIFont(name: "PingFang-SC-Medium", size: 27)
-let kMediumFont30 = UIFont(name: "PingFang-SC-Medium", size: 30)
-let kMediumFont35 = UIFont(name: "PingFang-SC-Medium", size: 35)
-
-let kRegularFont12 = UIFont(name: "PingFang-SC-Regular", size: 12)
-let kRegularFont13 = UIFont(name: "PingFang-SC-Regular", size: 13)
-let kRegularFont14 = UIFont(name: "PingFang-SC-Regular", size: 14)
-let kRegularFont15 = UIFont(name: "PingFang-SC-Regular", size: 15)
-let kRegularFont16 = UIFont(name: "PingFang-SC-Regular", size: 16)
-let kRegularFont17 = UIFont(name: "PingFang-SC-Regular", size: 17)
-
-let kDINMEDIUMFont10 = UIFont(name: "DIN-MEDIUM", size: 10)
-let kDINMEDIUMFont11 = UIFont(name: "DIN-MEDIUM", size: 11)
-let kDINMEDIUMFont12 = UIFont(name: "DIN-MEDIUM", size: 12)
-let kDINMEDIUMFont13 = UIFont(name: "DIN-MEDIUM", size: 13)
-let kDINMEDIUMFont14 = UIFont(name: "DIN-MEDIUM", size: 14)
-let kDINMEDIUMFont15 = UIFont(name: "DIN-MEDIUM", size: 15)
-let kDINMEDIUMFont16 = UIFont(name: "DIN-MEDIUM", size: 16)
-let kDINMEDIUMFont17 = UIFont(name: "DIN-MEDIUM", size: 17)
-let kDINMEDIUMFont18 = UIFont(name: "DIN-MEDIUM", size: 18)
-let kDINMEDIUMFont19 = UIFont(name: "DIN-MEDIUM", size: 19)
-let kDINMEDIUMFont20 = UIFont(name: "DIN-MEDIUM", size: 20)
-let kDINMEDIUMFont21 = UIFont(name: "DIN-MEDIUM", size: 21)
-let kDINMEDIUMFont22 = UIFont(name: "DIN-MEDIUM", size: 22)
-let kDINMEDIUMFont23 = UIFont(name: "DIN-MEDIUM", size: 23)
-let kDINMEDIUMFont24 = UIFont(name: "DIN-MEDIUM", size: 24)
-let kDINMEDIUMFont25 = UIFont(name: "DIN-MEDIUM", size: 25)
-let kDINMEDIUMFont26 = UIFont(name: "DIN-MEDIUM", size: 26)
-let kDINMEDIUMFont27 = UIFont(name: "DIN-MEDIUM", size: 27)
-let kDINMEDIUMFont28 = UIFont(name: "DIN-MEDIUM", size: 28)
-let kDINMEDIUMFont29 = UIFont(name: "DIN-MEDIUM", size: 29)
-let kDINMEDIUMFont30 = UIFont(name: "DIN-MEDIUM", size: 30)
-let kDINMEDIUMFont31 = UIFont(name: "DIN-MEDIUM", size: 31)
-let kDINMEDIUMFont32 = UIFont(name: "DIN-MEDIUM", size: 32)
-let kDINMEDIUMFont33 = UIFont(name: "DIN-MEDIUM", size: 33)
-let kDINMEDIUMFont34 = UIFont(name: "DIN-MEDIUM", size: 34)
-let kDINMEDIUMFont35 = UIFont(name: "DIN-MEDIUM", size: 35)
-let kDINMEDIUMFont36 = UIFont(name: "DIN-MEDIUM", size: 36)
-let kDINMEDIUMFont37 = UIFont(name: "DIN-MEDIUM", size: 37)
-let kDINMEDIUMFont38 = UIFont(name: "DIN-MEDIUM", size: 38)
-let kDINMEDIUMFont39 = UIFont(name: "DIN-MEDIUM", size: 39)
-let kDINMEDIUMFont40 = UIFont(name: "DIN-MEDIUM", size: 40)
-
-let kScaleBoldFont10 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 10))
-let kScaleBoldFont11 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 11))
-let kScaleBoldFont12 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 12))
-let kScaleBoldFont13 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 13))
-let kScaleBoldFont14 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 14))
-let kScaleBoldFont15 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 15))
-let kScaleBoldFont16 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 16))
-let kScaleBoldFont17 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 17))
-let kScaleBoldFont18 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 18))
-let kScaleBoldFont19 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 19))
-let kScaleBoldFont20 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 20))
-let kScaleBoldFont21 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 21))
-let kScaleBoldFont30 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 30))
-let kScaleBoldFont36 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 36))
-let kScaleBoldFont40 = UIFont.boldSystemFont(ofSize: kScaleValue(value: 40))
-
-let kScaleMediumFont10 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 10))
-let kScaleMediumFont11 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 11))
-let kScaleMediumFont12 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 12))
-let kScaleMediumFont13 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 13))
-let kScaleMediumFont14 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 14))
-let kScaleMediumFont15 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 15))
-let kScaleMediumFont16 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 16))
-let kScaleMediumFont17 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 17))
-let kScaleMediumFont18 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 18))
-let kScaleMediumFont24 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 24))
-let kScaleMediumFont25 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 25))
-let kScaleMediumFont27 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 27))
-let kScaleMediumFont30 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 30))
-let kScaleMediumFont35 = UIFont(name: "PingFang-SC-Medium", size: kScaleValue(value: 35))
-
-let kScaleRegularFont12 = UIFont(name: "PingFang-SC-Regular", size: kScaleValue(value: 12))
-let kScaleRegularFont13 = UIFont(name: "PingFang-SC-Regular", size: kScaleValue(value: 13))
-let kScaleRegularFont14 = UIFont(name: "PingFang-SC-Regular", size: kScaleValue(value: 14))
-let kScaleRegularFont15 = UIFont(name: "PingFang-SC-Regular", size: kScaleValue(value: 15))
-let kScaleRegularFont16 = UIFont(name: "PingFang-SC-Regular", size: kScaleValue(value: 16))
-let kScaleRegularFont17 = UIFont(name: "PingFang-SC-Regular", size: kScaleValue(value: 17))
-let kScaleRegularFont19 = UIFont(name: "PingFang-SC-Regular", size: kScaleValue(value: 19))
-
-let kScaleDINMEDIUMFont10 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 10))
-let kScaleDINMEDIUMFont11 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 11))
-let kScaleDINMEDIUMFont12 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 12))
-let kScaleDINMEDIUMFont13 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 13))
-let kScaleDINMEDIUMFont14 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 14))
-let kScaleDINMEDIUMFont15 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 15))
-let kScaleDINMEDIUMFont16 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 16))
-let kScaleDINMEDIUMFont17 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 17))
-let kScaleDINMEDIUMFont18 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 18))
-let kScaleDINMEDIUMFont19 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 19))
-let kScaleDINMEDIUMFont20 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 20))
-let kScaleDINMEDIUMFont21 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 21))
-let kScaleDINMEDIUMFont22 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 22))
-let kScaleDINMEDIUMFont23 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 23))
-let kScaleDINMEDIUMFont24 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 24))
-let kScaleDINMEDIUMFont25 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 25))
-let kScaleDINMEDIUMFont26 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 26))
-let kScaleDINMEDIUMFont27 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 27))
-let kScaleDINMEDIUMFont28 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 28))
-let kScaleDINMEDIUMFont29 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 29))
-let kScaleDINMEDIUMFont30 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 30))
-let kScaleDINMEDIUMFont31 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 31))
-let kScaleDINMEDIUMFont32 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 32))
-let kScaleDINMEDIUMFont33 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 33))
-let kScaleDINMEDIUMFont34 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 34))
-let kScaleDINMEDIUMFont35 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 35))
-let kScaleDINMEDIUMFont36 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 36))
-let kScaleDINMEDIUMFont37 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 37))
-let kScaleDINMEDIUMFont38 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 38))
-let kScaleDINMEDIUMFont39 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 39))
-let kScaleDINMEDIUMFont40 = UIFont(name: "DIN-MEDIUM", size: kScaleValue(value: 40))

+ 0 - 14
RainbowPlanet/RainbowPlanet/Define/HTMLURLMacro.swift

@@ -1,14 +0,0 @@
-//
-//  HTMLURLMacro.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/10/17.
-//  Copyright © 2018 南鑫林. All rights reserved.
-//
-
-import Foundation
-
-/// 给我们我们评分
-let kAppStoreReview = "https://itunes.apple.com/cn/app/1166892045?action=write-review"
-
-

+ 0 - 19
RainbowPlanet/RainbowPlanet/Define/NotificationCenterMacro.swift

@@ -1,19 +0,0 @@
-//
-//  NotificationCenterMacro.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2019/1/4.
-//  Copyright © 2019 南鑫林. All rights reserved.
-//
-
-import Foundation
-
-
-/// 定位
-let kLocationModelChangeNotificationName = Notification.Name(rawValue: "LocationModelChange")
-
-/// 我的页面监听数据改变
-let kMineUserQueryModelTokenModelChangeNotificationName = Notification.Name(rawValue: "kMineUserQueryModelTokenModelChangeNotificationName")
-
-/// 银行卡列表页面
-let kBankCardListViewControllerNotificationName = Notification.Name(rawValue: "kBankCardListViewControllerNotificationName")

+ 0 - 32
RainbowPlanet/RainbowPlanet/Define/ThirdPartyMacro.swift

@@ -1,32 +0,0 @@
-//
-//  ThirdPartyMacro.swift
-//  RainbowPlanet
-//
-//  Created by 南鑫林 on 2018/7/13.
-//  Copyright © 2018年 南鑫林. All rights reserved.
-//
-
-import Foundation
-
-//MARK: -  bugly
-let kBuglyAppId  = "dea0c63442"
-let kBuglyAppKey  = "475526b6-2b02-4810-972b-1bdbf853d8fe"
-
-//MARK: - UMeng
-let kUMengAppKey  = "5b3dbd078f4a9d5c100000c1"
-
-//MARK: - QQ跟安卓用同一个
-let kQQAppKey =  "1105803948"
-let kQQAppSecret = "aUosPQs1khVAcmB7"
-
-//MARK: - 微信
-let kWeiXinAppKey  = "wx647d93490caf548f"
-let kWeiXinAppSecret = "c5dc884f79a1bb00e96d76a3e16da39a"
-
-//MARK: - 微博
-let kWeiboAppKey  = "2824278574"
-let kWeiboAppSecret  = "0be988a21b045ecf948ba5838b72f689"
-
-//MARK: - 百度地图
-let kBaiduMapAppKey  = "UhUyWpGF9ZGUn8uo4vOpyoO7GRjk1Q70"
-

BIN
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/alipay_msp_back@2x.png


BIN
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/alipay_msp_refresh@2x.png


BIN
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/bar@2x.png


Разница между файлами не показана из-за своего большого размера
+ 0 - 1
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/bridge.js


BIN
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/refresh@2x.png


BIN
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/refresh_click@2x.png


BIN
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/shutdown@2x.png


BIN
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.bundle/shutdown_click@2x.png


BIN
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.framework/AlipaySDK


BIN
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.framework/AlipaySDK-inside-Info.plist


+ 0 - 33
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.framework/Headers/APayAuthInfo.h

@@ -1,33 +0,0 @@
-//
-//  APAuthInfo.h
-//  APAuth
-//
-//  Created by antfin on 17-10-24.
-//  Copyright (c) 2017年 AntFin. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-@interface APayAuthInfo : NSObject
-
-@property(nonatomic, copy)NSString *appID;
-@property(nonatomic, copy)NSString *pid;
-@property(nonatomic, copy)NSString *redirectUri;
-
-/**
- *  初始化AuthInfo
- *
- *  @param appIDStr     应用ID
- *  @param pidStr       商户ID   可不填
- *  @param uriStr       授权的应用回调地址  比如:alidemo://auth
- *
- *  @return authinfo实例
- */
-- (id)initWithAppID:(NSString *)appIDStr
-                pid:(NSString *)pidStr
-        redirectUri:(NSString *)uriStr;
-
-- (NSString *)description;
-- (NSString *)wapDescription;
-
-@end

+ 0 - 203
RainbowPlanet/RainbowPlanet/Lib/AlipaySDK/AlipaySDK.framework/Headers/AlipaySDK.h

@@ -1,203 +0,0 @@
-//
-//  AlipaySDK.h
-//  AlipaySDK
-//
-//  Created by antfin on 17-10-24.
-//  Copyright (c) 2017年 AntFin. All rights reserved.
-//
-
-
-////////////////////////////////////////////////////////
-///////////////// 支付宝标准版本支付SDK ///////////////////
-/////////// version:15.6.0  motify:2019.02.26///////////
-////////////////////////////////////////////////////////
-
-#import <UIKit/UIKit.h>
-#import "APayAuthInfo.h"
-
-typedef void(^CompletionBlock)(NSDictionary *resultDic);
-
-typedef enum {
-    ALIPAY_TIDFACTOR_IMEI,
-    ALIPAY_TIDFACTOR_IMSI,
-    ALIPAY_TIDFACTOR_TID,
-    ALIPAY_TIDFACTOR_CLIENTKEY,
-    ALIPAY_TIDFACTOR_VIMEI,
-    ALIPAY_TIDFACTOR_VIMSI,
-    ALIPAY_TIDFACTOR_CLIENTID,
-    ALIPAY_TIDFACTOR_APDID,
-    ALIPAY_TIDFACTOR_MAX
-} AlipayTidFactor;
-
-@interface AlipaySDK : NSObject
-
-/**
- *  创建支付单例服务
- *
- *  @return 返回单例对象
- */
-+ (AlipaySDK *)defaultService;
-
-/**
- *  用于设置SDK使用的window,如果没有自行创建window无需设置此接口
- */
-@property (nonatomic, weak) UIWindow *targetWindow;
-
-//////////////////////////////////////////////////////////////////////////////////////////////
-//////////////////////////支付宝支付相关接口/////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////////////////////
-
-/**
- *  支付接口
- *
- *  @param orderStr        支付订单信息字串
- *  @param schemeStr       调用支付的app注册在info.plist中的scheme
- *  @param completionBlock 支付结果回调Block,用于wap支付结果回调
-                           跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock
- */
-- (void)payOrder:(NSString *)orderStr
-      fromScheme:(NSString *)schemeStr
-        callback:(CompletionBlock)completionBlock;
-
-/**
- *  支付接口 v2
- *
- *  @param orderStr        支付订单信息字串
- *  @param dynamicLaunch   是否使用动态配置策略跳转支付宝支付
- *  @param schemeStr       调用支付的app注册在info.plist中的scheme
- *  @param completionBlock 支付结果回调Block,用于wap支付结果回调
- 跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock
- */
-- (void)payOrder:(NSString *)orderStr
-   dynamicLaunch:(BOOL)dynamicLaunch
-      fromScheme:(NSString *)schemeStr
-        callback:(CompletionBlock)completionBlock;
-
-/**
- *  处理支付宝app支付后跳回商户app携带的支付结果Url
- *
- *  @param resultUrl        支付宝app返回的支付结果url
- *  @param completionBlock  支付结果回调 为nil时默认使用支付接口的completionBlock
- */
-- (void)processOrderWithPaymentResult:(NSURL *)resultUrl
-                      standbyCallback:(CompletionBlock)completionBlock;
-
-/**
- *  获取交易token。
- *
- *  @return 交易token,若无则为空。
- */
-- (NSString *)fetchTradeToken;
-
-
-//////////////////////////////////////////////////////////////////////////////////////////////
-//////////////////////////支付宝授权 2.0 相关接口////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////////////////////
-
-/**
- *  快登授权2.0
- *
- *  @param infoStr          授权请求信息字串
- *  @param schemeStr        调用授权的app注册在info.plist中的scheme
- *  @param completionBlock  授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效,
-                            需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果
- */
-- (void)auth_V2WithInfo:(NSString *)infoStr
-             fromScheme:(NSString *)schemeStr
-               callback:(CompletionBlock)completionBlock;
-
-/**
- *  处理支付宝app授权后跳回商户app携带的授权结果Url
- *
- *  @param resultUrl        支付宝app返回的授权结果url
- *  @param completionBlock  授权结果回调
- */
-- (void)processAuth_V2Result:(NSURL *)resultUrl
-             standbyCallback:(CompletionBlock)completionBlock;
-
-
-//////////////////////////////////////////////////////////////////////////////////////////////
-//////////////////////////支付宝授权 1.0 相关接口////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////////////////////
-
-
-/**
- *  快登授权
- *  @param authInfo         授权相关信息
- *  @param completionBlock  授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效,
-                            需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果
- */
-- (void)authWithInfo:(APayAuthInfo *)authInfo
-            callback:(CompletionBlock)completionBlock;
-
-/**
- *  处理支付宝app授权后跳回商户app携带的授权结果Url
- *
- *  @param resultUrl        支付宝app返回的授权结果url
- *  @param completionBlock  授权结果回调
- */
-- (void)processAuthResult:(NSURL *)resultUrl
-          standbyCallback:(CompletionBlock)completionBlock;
-
-
-//////////////////////////////////////////////////////////////////////////////////////////////
-//////////////////////////支付宝 h5 支付转 native 支付接口////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////////////////////
-/**
- *  从h5链接中获取订单串并支付接口(自版本15.4.0起,推荐使用该接口)
- *
- *  @param urlStr     拦截的 url string
- *
- *  @return YES为成功获取订单信息并发起支付流程;NO为无法获取订单信息,输入url是普通url
- */
-- (BOOL)payInterceptorWithUrl:(NSString *)urlStr
-                   fromScheme:(NSString *)schemeStr
-                     callback:(CompletionBlock)completionBlock;
-
-
-
-//////////////////////////////////////////////////////////////////////////////////////////////
-//////////////////////////支付宝 tid 相关信息获取接口/////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////////////////////
-
-/**
- *  获取当前tid相关信息
- *
- *  @return tid相关信息
- */
-- (NSString*)queryTidFactor:(AlipayTidFactor)factor;
-
-
-
-//////////////////////////////////////////////////////////////////////////////////////////////
-//////////////////////////支付宝支付环境相关信息接口//////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////////////////////
-
-/**
- *  是否已经使用过
- *
- *  @return YES为已经使用过,NO反之
- */
-- (BOOL)isLogined;
-
-/**
- *  获取当前版本号
- *
- *  @return 当前版本字符串
- */
-- (NSString *)currentVersion;
-
-/**
- *  測試所用,realse包无效
- *
- *  @param url  测试环境
- */
-- (void)setUrl:(NSString *)url;
-
-/**
- *  支付前主动更新本地配置
- *
- *  @param block 更新请求结果回调
- */
-- (void)fetchSdkConfigWithBlock:(void(^)(BOOL success))block;
-@end

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/CL_ShanYanSDK


+ 0 - 34
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Headers/CLCompleteResult.h

@@ -1,34 +0,0 @@
-//
-//  CLCompleteResult.h
-//  CL_ShanYanSDK
-//
-//  Created by wanglijun on 2018/10/29.
-//  Copyright © 2018 wanglijun. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-typedef NS_ENUM(NSInteger, CLSDKInitStutas) {
-    CLSDKInitStutasERRORIniting,//失败-未完成(正在进行中)
-    CLSDKInitStutasERRORTimeOut,//失败-超时
-    CLSDKInitStutasERRORFailure,//失败-出错
-    CLSDKInitStutasSUCCESS,//成功
-};
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class CLCompleteResult;
-typedef void(^CLComplete)(CLCompleteResult * completeResult);
-
-@interface CLCompleteResult : NSObject
-@property (nonatomic,assign)NSInteger code;//SDK外层code
-@property (nonatomic,nullable,copy)NSString * message;//SDK外层msg
-@property (nonatomic,nullable,copy)NSDictionary * data;//SDK外层data
-@property (nonatomic,nullable,strong)NSError * error;//SDK内层Error
-
-//@property (nonatomic,nullable,strong)id clModel;
-
-+(instancetype)cl_CompleteWithCode:(NSInteger)code message:(NSString *)message data:(nullable NSDictionary *)data  error:(nullable NSError *)error;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 58
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Headers/CLShanYanSDKManager.h

@@ -1,58 +0,0 @@
-//
-//  CLShanYanSDKManager.h
-//  CL_ShanYanSDK
-//
-//  Created by wanglijun on 2018/10/29.
-//  Copyright © 2018 wanglijun. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-
-#import "CLCompleteResult.h"
-#import "CLUIConfigure.h"
-
-NS_ASSUME_NONNULL_BEGIN
-@interface CLShanYanSDKManager : NSObject
-/**
- 预初始化 Block方式
- @param appId 闪验后台申请的appId
- @param appKey 闪验后台申请的appKey
- @param timeOut 超时时间,单位s,传大于0有效,传小于等于0使用默认,默认5s
- @param complete 预初始化回调block 注:(对于预初始化失败的,之后仍可以直接调一键登录接口,SDK内部会再次尝试初始化。当用户收到此回调为失败时,之后可以自行决定是否要调用闪验一键登录,可以通过+(CLCompleteResult*)clSDKInitStutas方法获取当前预初始化状态)
- */
-+(void)initWithAppId:(NSString *)appId AppKey:(NSString *)appKey timeOut:(NSTimeInterval)timeOut  complete:(nullable CLComplete)complete;
-
-
-/**
- 预取号
- --初始化方法内部会自动执行一次预取号,一般情况下外部可无需调用
- --建议在即将执行一键登录的地方的前60s调用此方法,比如调一键登录的vc的viewdidload中,当初始化的预取号失败的情况下,此调用将有助于提高闪验拉起授权页的速度和成功率
- --不建议频繁的多次调用和在拉起授权页后调用
- */
-+(void)preGetPhonenumber;
-
-/**
- 获取SDK预初始化完成情况(成功/失败),用户可以在将要调用闪验一键登录方法处,通过此方法获取SDK预初始化情况,对于预初始化失败的,仍可以直接调一键登录接口,由用户自行决定
- @return CLSDKInitStutas
- */
-+(CLSDKInitStutas)clSDKInitStutas;
-
-
-/**
- 一键登录(授权页) 方式2 三网可分别配置logo
- @param ctccConfigure 电信配置
- @param cmccConfigure 移动配置
- @param cuccConfigure 联通配置
- @param timeOut 超时时间,单位s,传大于0有效,传小于等于0使用默认,默认5s
- @param complete 回调block
- */
-+(void)quickAuthLoginWithConfigureCTCC:(CLCTCCUIConfigure *)ctccConfigure
-                                  CMCC:(CLCMCCUIConfigure *)cmccConfigure
-                                  CUCC:(CLCUCCUIConfigure *)cuccConfigure
-                               timeOut:(NSTimeInterval)timeOut
-                              complete:(nonnull CLComplete)complete;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 61
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Headers/CLUIConfigure.h

@@ -1,61 +0,0 @@
-//
-//  CLCTCCUIConfigure.h
-//  CL_ShanYanSDK
-//
-//  Created by wanglijun on 2018/10/30.
-//  Copyright © 2018 wanglijun. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-//电信配置
-@interface CLCTCCUIConfigure : NSObject
-//要拉起授权页的vc(注:SDK不持有接入方VC)
-@property (nonatomic,weak)UIViewController * viewController;
-//LOGO图片,可选
-@property (nonatomic,strong)UIImage * logoImg;
-/**
- 是否隐藏 其他登录方式按钮,默认显示  隐藏:YES 显示:NO ,可选
- “其他登录方式”按钮显示时需在拉起授权页面添加回调方法:
- -(void)otherLoginWayBtnCliced:(UIButton *)sender{}
- */
-@property (nonatomic, assign) BOOL otherWayHidden;
-
-@end
-
-
-//移动配置
-@interface CLCMCCUIConfigure : NSObject
-//调一键登录的vc,必传(注:SDK不持有接入方VC)
-@property (nonatomic,weak)UIViewController * viewController;
-//LOGO图片,可选
-@property (nonatomic,strong) UIImage * logoImg;
-/**
- 是否隐藏 其他登录方式按钮  隐藏:YES 显示:NO  ,可选
- 是否隐藏 其他登录方式按钮,默认显示  隐藏:YES 显示:NO ,可选
- “其他登录方式”按钮显示时需在拉起授权页面添加回调方法:
- -(void)otherLoginWayBtnCliced:(UIButton *)sender{}
- */
-@property (nonatomic, assign) BOOL otherWayHidden;
-
-@end
-
-//联通配置
-@interface CLCUCCUIConfigure : NSObject
-//调一键登录的vc,必传(注:SDK不持有接入方VC)
-@property (nonatomic,weak)UIViewController * viewController;
-//LOGO图片,可选
-@property (nonatomic,strong)UIImage *  UAPageContentLogo;
-/**
- 是否隐藏 其他登录方式按钮  隐藏:YES 显示:NO  ,可选
- 是否隐藏 其他登录方式按钮,默认显示  隐藏:YES 显示:NO ,可选
- “其他登录方式”按钮显示时需在拉起授权页面添加回调方法:
- -(void)otherLoginWayBtnCliced:(UIButton *)sender{}
- */
-@property (nonatomic, assign) BOOL otherWayHidden;
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 24
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Headers/CL_ShanYanSDK.h

@@ -1,24 +0,0 @@
-//
-//  CL_ShanYanSDK.h
-//  CL_ShanYanSDK
-//
-//  Created by wanglijun on 2018/10/29.
-//  Copyright © 2018 wanglijun. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-//! Project version number for CL_ShanYanSDK.
-FOUNDATION_EXPORT double CL_ShanYanSDKVersionNumber;
-
-//! Project version string for CL_ShanYanSDK.
-FOUNDATION_EXPORT const unsigned char CL_ShanYanSDKVersionString[];
-
-// In this header, you should import all the public headers of your framework using statements like #import <CL_ShanYanSDK/PublicHeader.h>
-#import <CL_ShanYanSDK/CLShanYanSDKManager.h>
-#import <CL_ShanYanSDK/CLCompleteResult.h>
-#import <CL_ShanYanSDK/CLUIConfigure.h>
-
-
-
-

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Info.plist


+ 0 - 6
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/CL_ShanYanSDK.framework/Modules/module.modulemap

@@ -1,6 +0,0 @@
-framework module CL_ShanYanSDK {
-  umbrella header "CL_ShanYanSDK.h"
-
-  export *
-  module * { export * }
-}

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/EAccountApiSDK.framework/EAccountApiSDK


+ 0 - 72
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/EAccountApiSDK.framework/Headers/EAccountSDK.h

@@ -1,72 +0,0 @@
-//
-//  EAccountSDK.h
-//  EAccountSDKNetwork
-//
-//  Created by thy on 2018/6/23.
-//  Copyright © 2018年 21CN. All rights reserved.
-//
-
-//定制版SDK v1.4.0
-
-#import <Foundation/Foundation.h>
-
-/**
- 声明一个block
- @param resultDic 网络返回的data的解析结果
- */
-typedef   void (^successHandler) ( NSDictionary * _Nonnull resultDic);
-
-/**
- 声明一个block
- @param error 网络返回的错误或者其它错误
- */
-typedef   void (^failureHandler) (NSError * _Nonnull error);
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface EAccountSDK : NSObject
-
-/**
- 初始化SDK
- @param appKey 接入方在账号平台领取的appKey
- @param appSecrect 接入方在账号平台领取的appSecrect
- */
-+ (void)initWithSelfKey:(NSString *)appKey
-              appSecret:(NSString *)appSecrect;
-
-
-/**
- 默认为正式环境的bundleID,需要使用测试环境的bundleID(企业证书重签名),请添加这个方法,在发布APP的时候请确保没有使用该方法。
- */
-
-+(void)setTestBundleId;
-
-/**
- *@description 预取号
-  @param apiTimeoutInterval 接口超时时间,传0或者小于0的数,则默认为3s
-*/
-
-+ (void)getMobileCodeWithTimeout:(NSTimeInterval)apiTimeoutInterval
-           completion:(nonnull successHandler)completion
-              failure:(nonnull failureHandler)fail;
-/**
- *@description 校验
- @param apiTimeoutInterval 接口超时时间,传0或者小于0的数,则默认为3s
- */
-
-+ (void)getVerificationCodeWithTimeout:(NSTimeInterval)apiTimeoutInterval
-                            completion:(nonnull successHandler)completion
-                               failure:(nonnull failureHandler)fail;
-/**
- *@description 网络认证
- *@param accessCode 预取号获取d的accessCode
- */
-+ (void)gatewayAuthWithAccessCode:(NSString*)accessCode
-                 timeoutInterval:(NSTimeInterval)apiTimeoutInterval
-           completion:(nonnull successHandler)completion
-              failure:(nonnull failureHandler)fail;
-
-
-@end
-
-NS_ASSUME_NONNULL_END

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/EAccountApiSDK.framework/Info.plist


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/HTMLResource.bundle/borrow_arrowleft.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/HTMLResource.bundle/borrow_arrowleft@2x.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/HTMLResource.bundle/e.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/HTMLResource.bundle/topIcon-default.png


+ 0 - 44
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/Headers/OAuthManager.h

@@ -1,44 +0,0 @@
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-#import "ResultListener.h"
-
-
-@interface OAuthManager : NSObject
-
-
-+ (instancetype)getInstance:(NSString*) apiKey pubKey:(NSString*)pubKey;
-
-//免密登录初始化
--(void) registerApp;
-
-//预取号
--(void) getAccessToken:(double) timeout listener:(resultListener)listener;
-
-//免密登录
--(void) login :(UIViewController*)uiController listener:(resultListener) listener timeout:(double)timeout;
-
-//获取用户信息
--(void) user:(NSString *) accessToken listener:(resultListener) listener;
-
-//修改UI
--(void) customUIWithParams:(NSDictionary *)customUIParams customViews:(void(^)(UIView                                                                              *customAreaView))customViews;
-//自定义跳转
--(void)setLoginSuccessPage:(UIViewController *)uiController;
-
-//获取AccessCode
--(void) getAccessCode :(resultListener) listener timeout:(double)timeout;
-
-//认证手机号
--(void) oauth:(NSString*)mobile accessCode:(NSString*)accessCode listener:(resultListener) listener;
-
-
-/**
- *  是否使用测试环境
- *
- *  @param isDebug true/false
- */
-- (void) setDebug:(Boolean) isDebug ;
-
-- (void) isLog:(Boolean) isLog;
-@end

+ 0 - 14
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/Headers/ResultListener.h

@@ -1,14 +0,0 @@
-//
-//  ResultListener.h
-//  OAuthSDKApp
-//
-//  Created by zhangQY on 2018/8/31.
-//  Copyright © 2018年 com.zzx.sdk.ios.test. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-
-@interface ResultListener : NSObject
-typedef void (^resultListener)(NSDictionary *data);
-@end

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/Info.plist


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/OAuth


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeDirectory


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeRequirements


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeRequirements-1


+ 0 - 151
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeResources

@@ -1,151 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>files</key>
-	<dict>
-		<key>Headers/OAuthManager.h</key>
-		<data>
-		Bl5T/7hExHX1Q7Bpn9IzaJw4bhU=
-		</data>
-		<key>Headers/ResultListener.h</key>
-		<data>
-		Ee6MfVyztZ/7SUwhawdG90nwqMI=
-		</data>
-		<key>Info.plist</key>
-		<data>
-		4Y2/pbEm4D5o19kQYRiD9MeccXQ=
-		</data>
-	</dict>
-	<key>files2</key>
-	<dict>
-		<key>Headers/OAuthManager.h</key>
-		<dict>
-			<key>hash</key>
-			<data>
-			Bl5T/7hExHX1Q7Bpn9IzaJw4bhU=
-			</data>
-			<key>hash2</key>
-			<data>
-			KkY65vwOQ6yTNXW7nORSoHn65r2rykqqX2vMiba2+eY=
-			</data>
-		</dict>
-		<key>Headers/ResultListener.h</key>
-		<dict>
-			<key>hash</key>
-			<data>
-			Ee6MfVyztZ/7SUwhawdG90nwqMI=
-			</data>
-			<key>hash2</key>
-			<data>
-			j9R29SkT+YMA4jE9viuuMnvox1ef/vqDXhGWizweu4I=
-			</data>
-		</dict>
-	</dict>
-	<key>rules</key>
-	<dict>
-		<key>^</key>
-		<true/>
-		<key>^.*\.lproj/</key>
-		<dict>
-			<key>optional</key>
-			<true/>
-			<key>weight</key>
-			<real>1000</real>
-		</dict>
-		<key>^.*\.lproj/locversion.plist$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>1100</real>
-		</dict>
-		<key>^Base\.lproj/</key>
-		<dict>
-			<key>weight</key>
-			<real>1010</real>
-		</dict>
-		<key>^version.plist$</key>
-		<true/>
-	</dict>
-	<key>rules2</key>
-	<dict>
-		<key>.*\.dSYM($|/)</key>
-		<dict>
-			<key>weight</key>
-			<real>11</real>
-		</dict>
-		<key>^</key>
-		<dict>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^(.*/)?\.DS_Store$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>2000</real>
-		</dict>
-		<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
-		<dict>
-			<key>nested</key>
-			<true/>
-			<key>weight</key>
-			<real>10</real>
-		</dict>
-		<key>^.*</key>
-		<true/>
-		<key>^.*\.lproj/</key>
-		<dict>
-			<key>optional</key>
-			<true/>
-			<key>weight</key>
-			<real>1000</real>
-		</dict>
-		<key>^.*\.lproj/locversion.plist$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>1100</real>
-		</dict>
-		<key>^Base\.lproj/</key>
-		<dict>
-			<key>weight</key>
-			<real>1010</real>
-		</dict>
-		<key>^Info\.plist$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^PkgInfo$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^[^/]+$</key>
-		<dict>
-			<key>nested</key>
-			<true/>
-			<key>weight</key>
-			<real>10</real>
-		</dict>
-		<key>^embedded\.provisionprofile$</key>
-		<dict>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^version\.plist$</key>
-		<dict>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-	</dict>
-</dict>
-</plist>

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/OAuth.framework/_CodeSignature/CodeSignature


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/checked.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/checked@2x.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/delete.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/left_arrow.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/left_icon.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/left_icon@2x.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/logo.png


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZResource.bundle/unchecked.png


+ 0 - 16
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Headers/TYRZSDK.h

@@ -1,16 +0,0 @@
-//
-//  TYRZSDK.h
-//  TYRZSDK
-//
-//  Created by 林涛 on 2017/6/27.
-//  Copyright © 2017年 林涛. All rights reserved.
-//
-
-#ifndef TYRZSDK_h
-#define TYRZSDK_h
-
-
-#import "TYRZUILogin.h"
-
-
-#endif /* TYRZSDK_h */

+ 0 - 87
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Headers/TYRZUILogin.h

@@ -1,87 +0,0 @@
-//
-//  TYRZUILogin.h
-//  TYRZ
-//
-//  Created by 林涛 on 2017/6/21.
-//  Copyright © 2017年 林涛. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-#import "UACustomModel.h"
-
-@interface TYRZUILogin : NSObject
-
-/**
- SDK版本号
- */
-@property (nonatomic,class,readonly) NSString *sdkVersion;
-
-/**
- 网络类型及运营商
- 网络类型  key:networkType    value:0.无网络/ 1.数据流量 / 2.wifi / 3.数据+wifi
- 运营商   key:operatorType         value:0.未知 / 1.中国移动 / 2.中国联通 / 3.中国电信
- */
-@property (nonatomic,class,readonly) NSDictionary *networkType;
-
-/**
- 初始化SDK参数
- @param appId 申请能力平台成功后,分配给网站的appId
- @param appKey 申请能力平台成功后,分配给网站的appKey
- */
-+ (void)initializeWithAppId:(NSString *)appId appKey:(NSString *)appKey;
-
-/**
- 控制台日志输出控制(默认关闭)
- @param enable 开关参数
- */
-+ (void)printConsoleEnable:(BOOL)enable;
-
-/**
- 自定义UI样式参数
- @param viewModel UI实例Model(UACustomModel.h可查看属性)
- @param customViews 自定义视图
- */
-+ (void)customUIWithParams:(UACustomModel *)viewModel
-               customViews:(void(^)(UIView *customAreaView))customViews;
-
-/**
- 自定义短信验证码开关
- @param flag 开关标记
- */
-+ (void)enableCustomSMS:(BOOL)flag;
-
-
-/**
- 预取号
- @param timeout 超时时间(毫秒)
- @param complete 回调
- */
-+ (void)getPhonenumberWithTimeout:(NSTimeInterval)timeout
-                          completion:(void(^)(id sender))complete;
-
-
-/**
- 授权登录
- @param vc 当前控制器
- @param timeout 超时时间(毫秒)
- @param complete 回调
- */
-+ (void)getAuthorizationWithController:(UIViewController *)vc
-                          timeout:(NSTimeInterval)timeout
-                         complete:(void (^)(id sender))complete;
-
-/**
- 本机号码校验
- @param timeout 超时时间(毫秒)
- @param complete 回调
- */
-+ (void)mobileAuthWithTimeout:(NSTimeInterval)timeout
-                      complete:(void (^)(id sender))complete;
-
-/**
- 删除内存中的缓存
- */
-
-+(BOOL)delectScrip;
-
-@end

+ 0 - 117
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Headers/UACustomModel.h

@@ -1,117 +0,0 @@
-//
-//  UACustomModel.h
-//  Test
-//
-//  Created by issuser on 2018/5/18.
-//  Copyright © 2018年 林涛. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface UACustomModel : NSObject
-
-/**
- SDK5.3.8版本注意事项:
- 授权页面的各个控件的Y轴默认值都是以375*667屏幕为基准 系数 : 当前屏幕高度/667
- 1、当设置Y轴并有效时 偏移量OffsetY属于相对导航栏的绝对Y值
- 2、(负数且超出当前屏幕无效)为保证各个屏幕适配,请自行设置好Y轴在屏幕上的比例(推荐:当前屏幕高度/667)
- */
-
-/*----------------------------------------授权页面-----------------------------------*/
-
-//MARK:导航栏*************
-
-/**导航栏颜色*/
-@property (nonatomic,strong) UIColor *navColor;
-/**状态栏着色样式*/
-@property (nonatomic,assign) UIBarStyle barStyle;
-/**导航栏标题*/
-@property (nonatomic,strong) NSAttributedString *navText;
-/**导航返回图标*/
-@property (nonatomic,strong) UIImage *navReturnImg;
-/**导航栏右侧自定义控件*/
-@property (nonatomic,strong) UIBarButtonItem *navControl;
-
-//MARK:图片设置************
-
-/**LOGO图片*/
-@property (nonatomic,strong) UIImage *logoImg;
-/**LOGO图片宽度*/
-@property (nonatomic,assign) CGFloat logoWidth;
-/**LOGO图片高度*/
-@property (nonatomic,assign) CGFloat logoHeight;
-/**LOGO图片偏移量*/
-@property (nonatomic,assign) CGFloat logoOffsetY;
-/**LOGO图片隐藏*/
-@property (nonatomic,assign) BOOL logoHidden;
-
-//MARK:登录按钮************
-
-/**登录按钮文本*/
-@property (nonatomic,strong) NSString *logBtnText;
-/**登录按钮Y偏移量*/
-@property (nonatomic,assign) CGFloat logBtnOffsetY;
-/**登录按钮文本颜色*/
-@property (nonatomic,strong) UIColor *logBtnTextColor;
-/**登录按钮背景图片添加到数组(顺序如下)
- @[激活状态的图片,失效状态的图片,高亮状态的图片]
-*/
-@property (nonatomic,strong) NSArray *logBtnImgs;
-
-//MARK:号码框设置************
-
-/**显示旧版号码栏样式*/
-@property (nonatomic,assign) BOOL oldStyle;
-/**手机号码字体颜色*/
-@property (nonatomic,strong) UIColor *numberColor;
-/**隐藏切换账号按钮*/
-@property (nonatomic,assign) BOOL swithAccHidden;
-/**切换账号字体颜色*/
-@property (nonatomic,strong) UIColor *swithAccTextColor;
-/**设置切换账号相对于标题栏下边缘y偏移*/
-@property (nonatomic,assign) CGFloat switchOffsetY;
-/**号码栏Y偏移量*/
-@property (nonatomic,assign) CGFloat numFieldOffsetY;
-
-//MARK:隐私条款************
-
-/**复选框未选中时图片*/
-@property (nonatomic,strong) UIImage *uncheckedImg;
-/**复选框选中时图片*/
-@property (nonatomic,strong) UIImage *checkedImg;
-/**隐私条款一:数组(务必按顺序)
- @[条款名称,条款链接]
- */
-@property (nonatomic,strong) NSArray *appPrivacyOne;
-/**隐私条款二:数组(务必按顺序)
- @[条款名称,条款链接]
- */
-@property (nonatomic,strong) NSArray *appPrivacyTow;
-/**隐私条款名称颜色
- @[基础文字颜色,条款颜色]
- */
-@property (nonatomic,strong) NSArray *appPrivacyColor;
-/**隐私条款Y偏移量(注:此属性为与屏幕底部的距离)*/
-@property (nonatomic,assign) CGFloat privacyOffsetY;
-
-//MARK:底部标识Title************
-
-/**slogan偏移量Y*/
-@property (nonatomic,assign) CGFloat sloganOffsetY;
-/**slogan文字颜色*/
-@property (nonatomic,strong) UIColor *sloganTextColor;
-
-/*----------------------------------------短信页面-----------------------------------*/
-/**短验页面导航栏标题*/
-@property (nonatomic,strong) NSAttributedString *SMSNavText;
-/**登录按钮文本内容*/
-@property (nonatomic,strong) NSString *SMSLogBtnText;
-/**登录按钮文本颜色*/
-@property (nonatomic,strong) UIColor *SMSLogBtnTextColor;
-/**短验登录按钮图片请按顺序添加到数组(顺序如下)
- @[激活状态的图片,失效状态的图片,高亮状态的图片]
-
- */
-@property (nonatomic,strong) NSArray *SMSLogBtnImgs;
-
-@end

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Info.plist


+ 0 - 6
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/Modules/module.modulemap

@@ -1,6 +0,0 @@
-framework module TYRZSDK {
-  umbrella header "TYRZSDK.h"
-
-  export *
-  module * { export * }
-}

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/TYRZSDK.framework/TYRZSDK


+ 0 - 28
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Headers/UniAuthHelper.h

@@ -1,28 +0,0 @@
-//
-//  UniAuthHelper.h
-//  account_verify_sdk_core
-//
-//  Created by zhuof on 2018/3/8.
-//  Copyright © 2018年 xiaowo. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import "UniResultListener.h"
-#import <UIKit/UIKit.h>
-
-@interface UniAuthHelper : NSObject
-
-+(UniAuthHelper *) getInstance;
-
--(void) registerAppId:(NSString *)appId appSecret:(NSString *)AppSecret;
-
--(void) getAccessCode:(double)timeout listener:(UniResultListener) listener;
-
--(void) login : (UIViewController*)uiController timeout:(double)timeout listener:(UniResultListener) listener;
-
--(void)customUIWithParams:(NSDictionary *)customUIParams customViews:(void(^)(UIView                                                                              *customAreaView))customViews;
-
-
--(void)setLoginSuccessPage:(UIViewController *)uiController;
-
-@end

+ 0 - 11
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Headers/UniResultListener.h

@@ -1,11 +0,0 @@
-//
-//  UniResultListener.h
-//  account_verify_sdk_core
-//
-//  Created by zhuof on 2018/3/7.
-//  Copyright © 2018年 xiaowo. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-typedef void (^UniResultListener)(NSDictionary *data);

+ 0 - 19
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Headers/account_login_sdk_core.h

@@ -1,19 +0,0 @@
-//
-//  account_login_sdk_core.h
-//  account_login_sdk_core
-//
-//  Created by zhuof on 2018/3/19.
-//  Copyright © 2018年 xiaowo. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-//! Project version number for account_login_sdk_core.
-FOUNDATION_EXPORT double account_login_sdk_coreVersionNumber;
-
-//! Project version string for account_login_sdk_core.
-FOUNDATION_EXPORT const unsigned char account_login_sdk_coreVersionString[];
-
-// In this header, you should import all the public headers of your framework using statements like #import <account_login_sdk_core/PublicHeader.h>
-
-#import <account_login_sdk_core/UniAuthHelper.h>

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Info.plist


+ 0 - 6
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/Modules/module.modulemap

@@ -1,6 +0,0 @@
-framework module account_login_sdk_core {
-  umbrella header "account_login_sdk_core.h"
-
-  export *
-  module * { export * }
-}

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeDirectory


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeRequirements


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeRequirements-1


+ 0 - 181
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeResources

@@ -1,181 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>files</key>
-	<dict>
-		<key>Headers/UniAuthHelper.h</key>
-		<data>
-		OrFNgjZTT531p+hZ4/0DbJr9tAM=
-		</data>
-		<key>Headers/UniResultListener.h</key>
-		<data>
-		PE4jdGvqdR40xovkS5m/6uOtA7k=
-		</data>
-		<key>Headers/account_login_sdk_core.h</key>
-		<data>
-		vjTt6SVKe0wDXHSR64n6g6ZBueI=
-		</data>
-		<key>Info.plist</key>
-		<data>
-		hYIDXy1HTrkKSzLgdM7R1+PWvxw=
-		</data>
-		<key>Modules/module.modulemap</key>
-		<data>
-		S7FOWgUo2dktzBDFmoK42ko/68U=
-		</data>
-	</dict>
-	<key>files2</key>
-	<dict>
-		<key>Headers/UniAuthHelper.h</key>
-		<dict>
-			<key>hash</key>
-			<data>
-			OrFNgjZTT531p+hZ4/0DbJr9tAM=
-			</data>
-			<key>hash2</key>
-			<data>
-			RRxXMukHfZjNKXl5FrFpVIj2ytVvnAaAuSkApQ3r2eo=
-			</data>
-		</dict>
-		<key>Headers/UniResultListener.h</key>
-		<dict>
-			<key>hash</key>
-			<data>
-			PE4jdGvqdR40xovkS5m/6uOtA7k=
-			</data>
-			<key>hash2</key>
-			<data>
-			+605DA9F23y6TA3bftRQMreIE9OYaSP33XeC/kMrLcU=
-			</data>
-		</dict>
-		<key>Headers/account_login_sdk_core.h</key>
-		<dict>
-			<key>hash</key>
-			<data>
-			vjTt6SVKe0wDXHSR64n6g6ZBueI=
-			</data>
-			<key>hash2</key>
-			<data>
-			Mk5Hr04lchUv+llad1Dz/rbR1aZvwEPIYqXDvqCSmDg=
-			</data>
-		</dict>
-		<key>Modules/module.modulemap</key>
-		<dict>
-			<key>hash</key>
-			<data>
-			S7FOWgUo2dktzBDFmoK42ko/68U=
-			</data>
-			<key>hash2</key>
-			<data>
-			m+CTUm7X+hoI3H2Ii/uub6LRtnOcl/Y0a2t+phYqpIc=
-			</data>
-		</dict>
-	</dict>
-	<key>rules</key>
-	<dict>
-		<key>^</key>
-		<true/>
-		<key>^.*\.lproj/</key>
-		<dict>
-			<key>optional</key>
-			<true/>
-			<key>weight</key>
-			<real>1000</real>
-		</dict>
-		<key>^.*\.lproj/locversion.plist$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>1100</real>
-		</dict>
-		<key>^Base\.lproj/</key>
-		<dict>
-			<key>weight</key>
-			<real>1010</real>
-		</dict>
-		<key>^version.plist$</key>
-		<true/>
-	</dict>
-	<key>rules2</key>
-	<dict>
-		<key>.*\.dSYM($|/)</key>
-		<dict>
-			<key>weight</key>
-			<real>11</real>
-		</dict>
-		<key>^</key>
-		<dict>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^(.*/)?\.DS_Store$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>2000</real>
-		</dict>
-		<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
-		<dict>
-			<key>nested</key>
-			<true/>
-			<key>weight</key>
-			<real>10</real>
-		</dict>
-		<key>^.*</key>
-		<true/>
-		<key>^.*\.lproj/</key>
-		<dict>
-			<key>optional</key>
-			<true/>
-			<key>weight</key>
-			<real>1000</real>
-		</dict>
-		<key>^.*\.lproj/locversion.plist$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>1100</real>
-		</dict>
-		<key>^Base\.lproj/</key>
-		<dict>
-			<key>weight</key>
-			<real>1010</real>
-		</dict>
-		<key>^Info\.plist$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^PkgInfo$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^[^/]+$</key>
-		<dict>
-			<key>nested</key>
-			<true/>
-			<key>weight</key>
-			<real>10</real>
-		</dict>
-		<key>^embedded\.provisionprofile$</key>
-		<dict>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^version\.plist$</key>
-		<dict>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-	</dict>
-</dict>
-</plist>

+ 0 - 0
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/_CodeSignature/CodeSignature


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_login_sdk_core.framework/account_login_sdk_core


+ 0 - 19
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/Headers/UnivAuthHelper.h

@@ -1,19 +0,0 @@
-//
-//  UnivAuthHelper.h
-//  account_verify_sdk_core
-//
-//  Created by zhuof on 2018/3/8.
-//  Copyright © 2018年 xiaowo. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-typedef void (^UnivResultListener)(NSDictionary *data);
-
-@interface UnivAuthHelper : NSObject
-
-+(UnivAuthHelper *) getInstance;
-
--(void) getAccessCode :(NSString*) appId appSecret:(NSString*) appSecret timeout:(double)timeout listener:(UnivResultListener) listener;
-
-@end

+ 0 - 19
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/Headers/account_verify_sdk_core.h

@@ -1,19 +0,0 @@
-//
-//  account_verify_sdk_core.h
-//  account_verify_sdk_core
-//
-//  Created by zhuof on 2018/3/5.
-//  Copyright © 2018年 xiaowo. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-//! Project version number for account_verify_sdk_core.
-FOUNDATION_EXPORT double account_verify_sdk_coreVersionNumber;
-
-//! Project version string for account_verify_sdk_core.
-FOUNDATION_EXPORT const unsigned char account_verify_sdk_coreVersionString[];
-
-// In this header, you should import all the public headers of your framework using statements like #import <account_verify_sdk_core/PublicHeader.h>
-
-#import <account_verify_sdk_core/UnivAuthHelper.h>

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/Info.plist


+ 0 - 6
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/Modules/module.modulemap

@@ -1,6 +0,0 @@
-framework module account_verify_sdk_core {
-  umbrella header "account_verify_sdk_core.h"
-
-  export *
-  module * { export * }
-}

BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeDirectory


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeRequirements


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeRequirements-1


+ 0 - 166
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeResources

@@ -1,166 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>files</key>
-	<dict>
-		<key>Headers/UnivAuthHelper.h</key>
-		<data>
-		BZYwJY/CFR8VWiHJpVtChOVbc3E=
-		</data>
-		<key>Headers/account_verify_sdk_core.h</key>
-		<data>
-		USneoJZeoUWgEw/eeTg2oy73cHY=
-		</data>
-		<key>Info.plist</key>
-		<data>
-		f5Wy4Ufx9GEWtPcdEWLZ/T4Ng0E=
-		</data>
-		<key>Modules/module.modulemap</key>
-		<data>
-		xP/VG/QE+wm+K7EDLBiGFrfNK9c=
-		</data>
-	</dict>
-	<key>files2</key>
-	<dict>
-		<key>Headers/UnivAuthHelper.h</key>
-		<dict>
-			<key>hash</key>
-			<data>
-			BZYwJY/CFR8VWiHJpVtChOVbc3E=
-			</data>
-			<key>hash2</key>
-			<data>
-			A2FfKVlv2k9f2ntUP/oWwllkjZCFhRifjvIQ3W0YOQQ=
-			</data>
-		</dict>
-		<key>Headers/account_verify_sdk_core.h</key>
-		<dict>
-			<key>hash</key>
-			<data>
-			USneoJZeoUWgEw/eeTg2oy73cHY=
-			</data>
-			<key>hash2</key>
-			<data>
-			vdnnygvrqOnHNvq/NXLu/Y6uQHnDZ4/i8ZSwrV48OnI=
-			</data>
-		</dict>
-		<key>Modules/module.modulemap</key>
-		<dict>
-			<key>hash</key>
-			<data>
-			xP/VG/QE+wm+K7EDLBiGFrfNK9c=
-			</data>
-			<key>hash2</key>
-			<data>
-			cI9/JooMX8ufPD0rpSnBOAb9DYcIwCA2upZoq0KEWzI=
-			</data>
-		</dict>
-	</dict>
-	<key>rules</key>
-	<dict>
-		<key>^</key>
-		<true/>
-		<key>^.*\.lproj/</key>
-		<dict>
-			<key>optional</key>
-			<true/>
-			<key>weight</key>
-			<real>1000</real>
-		</dict>
-		<key>^.*\.lproj/locversion.plist$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>1100</real>
-		</dict>
-		<key>^Base\.lproj/</key>
-		<dict>
-			<key>weight</key>
-			<real>1010</real>
-		</dict>
-		<key>^version.plist$</key>
-		<true/>
-	</dict>
-	<key>rules2</key>
-	<dict>
-		<key>.*\.dSYM($|/)</key>
-		<dict>
-			<key>weight</key>
-			<real>11</real>
-		</dict>
-		<key>^</key>
-		<dict>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^(.*/)?\.DS_Store$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>2000</real>
-		</dict>
-		<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
-		<dict>
-			<key>nested</key>
-			<true/>
-			<key>weight</key>
-			<real>10</real>
-		</dict>
-		<key>^.*</key>
-		<true/>
-		<key>^.*\.lproj/</key>
-		<dict>
-			<key>optional</key>
-			<true/>
-			<key>weight</key>
-			<real>1000</real>
-		</dict>
-		<key>^.*\.lproj/locversion.plist$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>1100</real>
-		</dict>
-		<key>^Base\.lproj/</key>
-		<dict>
-			<key>weight</key>
-			<real>1010</real>
-		</dict>
-		<key>^Info\.plist$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^PkgInfo$</key>
-		<dict>
-			<key>omit</key>
-			<true/>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^[^/]+$</key>
-		<dict>
-			<key>nested</key>
-			<true/>
-			<key>weight</key>
-			<real>10</real>
-		</dict>
-		<key>^embedded\.provisionprofile$</key>
-		<dict>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-		<key>^version\.plist$</key>
-		<dict>
-			<key>weight</key>
-			<real>20</real>
-		</dict>
-	</dict>
-</dict>
-</plist>

+ 0 - 0
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/_CodeSignature/CodeSignature


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/account_verify_sdk_core.framework/account_verify_sdk_core


BIN
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/uni_account_login_sdk_res.bundle/Info.plist


+ 0 - 0
RainbowPlanet/RainbowPlanet/Lib/ShanYanSDK/uni_account_login_sdk_res.bundle/UniCommonView.storyboardc/5gE-Be-tHi-view-4kc-yp-R9q.nib


Некоторые файлы не были показаны из-за большого количества измененных файлов