|
@@ -10,50 +10,6 @@ import Foundation
|
|
|
import Kingfisher
|
|
|
import UIKit
|
|
|
|
|
|
-//public let cScreenWidth: CGFloat = UIScreen.main.bounds.width
|
|
|
-//public let cScreenHeigth: CGFloat = UIScreen.main.bounds.height
|
|
|
-//
|
|
|
-////获取状态栏的高度,全面屏手机的状态栏高度为44pt,非全面屏手机的状态栏高度为20pt
|
|
|
-////状态栏高度
|
|
|
-//public let statusBarHeight = UIApplication.shared.statusBarFrame.height;
|
|
|
-////导航栏高度
|
|
|
-//public let navigationHeight = CGFloat(statusBarHeight + 44.0)
|
|
|
-////tabbar高度
|
|
|
-//public let tabBarHeight = CGFloat(statusBarHeight > 20.0 ? 83.0 : 49.0)
|
|
|
-////顶部的安全距离
|
|
|
-//public let topSafeAreaHeight = CGFloat(statusBarHeight - 20.0)
|
|
|
-////底部的安全距离,全面屏手机为34pt,非全面屏手机为0pt
|
|
|
-//public let bottomSafeAreaHeight = CGFloat(tabBarHeight - 49.0)
|
|
|
-//
|
|
|
-//
|
|
|
-//// 屏幕适配系数 iponneX?
|
|
|
-//public let cAdaptatWidth = cScreenWidth / 375
|
|
|
-//public let cAdaptatHeigth = cScreenHeigth / 667
|
|
|
-///// 图库大小
|
|
|
-//public let photoItemSize = CGSize(width: (cScreenWidth - cDefaultMargin) / 3, height: (cScreenWidth - cDefaultMargin) / 3) // cell 大小
|
|
|
-//// add by ak 视频制作工具视频画布大小
|
|
|
-//// 1:1
|
|
|
-//public let cVideoCannvasSizeOneToOne = CGSize(width: 1080.0, height: 1080.0)
|
|
|
-//// 16:9
|
|
|
-//public let cVideoCannvasSizeSixteenToNine = CGSize(width: 1920.0, height: 1080.0)
|
|
|
-//// 9:16
|
|
|
-//public let cVideoCannvasSizeNineToSixteen = CGSize(width: 1080.0, height: 1920.0)
|
|
|
-//
|
|
|
-//// add by ak 声频 hz
|
|
|
-//public let cEditAudioSampleRate = 44100
|
|
|
-//
|
|
|
-//// 获取安全区域大小
|
|
|
-//public let cSafeAreaHeight: CGFloat = cIPHONE_X() == true ? 34.0 : 0.0
|
|
|
-//
|
|
|
-//// 获取安全区域大小
|
|
|
-//public let cAKSafeAreaHeight: CGFloat = cIPHONE_X() == true ? 25.0 : 0.0
|
|
|
-//
|
|
|
-//public let cDevice_iPhoneStatusBarHei: CGFloat = cIPHONE_X() == true ? 44.0 : 20.0
|
|
|
-//public let cDevice_iPhoneNavBarHei: CGFloat = 44.0
|
|
|
-//public let cDevice_iPhoneNavBarAndStatusBarHei: CGFloat = cDevice_iPhoneStatusBarHei + cDevice_iPhoneNavBarHei
|
|
|
-//public let cDevice_iPhoneTabBarHei: CGFloat = cSafeAreaHeight + 49.0
|
|
|
-//// 遮罩颜色
|
|
|
-//public let cShadowColor: UIColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.5)
|
|
|
/// 通知
|
|
|
public let PQNotification: NotificationCenter = NotificationCenter.default
|
|
|
|