BFRSComm.swift 577 B

12345678910111213141516171819202122232425
  1. //
  2. // BFRSComm.swift
  3. // BFRecordScreenKit
  4. //
  5. // Created by 胡志强 on 2021/11/23.
  6. //
  7. import Foundation
  8. import BFCommonKit
  9. // class BFUIConfig{}
  10. public func imageInRecordScreenKit(by name: String) -> UIImage? {
  11. return UIImage(named: name, in: currentBundle(), compatibleWith: nil)
  12. }
  13. func currentBundle() -> Bundle? {
  14. return Bundle.current(moduleName: "BFRecordScreenKit", isAssets: false)
  15. }
  16. // func ThemeStyleGreen() -> UIColor {
  17. // return UIColor.hexColor(hexadecimal: "#28BE67")
  18. // }
  19. public var ThemeStyleColor = UIColor.hexColor(hexadecimal: "#28BE67")