Commit 63b5483a authored by David黄金龙's avatar David黄金龙

删除 不使用的代码

parent 5919fdb8
...@@ -22,6 +22,8 @@ extension UIDevice { ...@@ -22,6 +22,8 @@ extension UIDevice {
static let kSystemVersion : String = UIDevice.current.systemVersion static let kSystemVersion : String = UIDevice.current.systemVersion
// MARK: - 顶部安全区高度 // MARK: - 顶部安全区高度
static func bs_safeDistanceTop() -> CGFloat { static func bs_safeDistanceTop() -> CGFloat {
if #available(iOS 13.0, *) { if #available(iOS 13.0, *) {
......
...@@ -107,16 +107,6 @@ func ClassFromString(className: String) -> UIViewController? { ...@@ -107,16 +107,6 @@ func ClassFromString(className: String) -> UIViewController? {
} }
} }
/** 判断字符串是否为空 */
func kIsEmpty(string: String) -> Bool {
if string.isEmpty || string == "" {
return true
}else {
return false
}
}
/// 版本号相同: /// 版本号相同:
func systemVersionEqual(version:String) -> Bool { func systemVersionEqual(version:String) -> Bool {
return UIDevice.current.systemVersion == version return UIDevice.current.systemVersion == version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment