);
LIBRARY_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 1.0.0;
- PRODUCT_BUNDLE_IDENTIFIER = com.deepchords.paisa;
+ PRODUCT_BUNDLE_IDENTIFIER = com.deepchordsdemo.app;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
);
LIBRARY_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 1.0.0;
- PRODUCT_BUNDLE_IDENTIFIER = com.deepchords.paisa;
+ PRODUCT_BUNDLE_IDENTIFIER = com.deepchordsdemo.app;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
+++ /dev/null
-{
- "images" : [
- {
- "filename" : "Frame.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "filename" : "Frame@2x.png",
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "filename" : "Frame@3x.png",
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
+++ /dev/null
-{
- "images" : [
- {
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "filename" : "Group 1255@2x.png",
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "filename" : "Group 1255@3x.png",
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
"scale" : "1x"
},
{
- "filename" : "Frame_2273@2x.png",
+ "filename" : "Slice 301@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame_2273@3x.png",
+ "filename" : "Slice 301@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame 2255-5 1.png",
+ "filename" : "Slice 322@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame 2255-5.png",
+ "filename" : "Slice 322@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Group 2401.png",
+ "filename" : "Slice 319@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Group 2400.png",
+ "filename" : "Slice 319@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame 2255-1 1.png",
+ "filename" : "Slice 316@2x(1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame 2255-1.png",
+ "filename" : "Slice 316@3x(1).png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame 2255-2 1.png",
+ "filename" : "Slice 316@2x(2).png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame 2255-2.png",
+ "filename" : "Slice 316@3x(2).png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame 2256.png",
+ "filename" : "Slice 316@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame 2255.png",
+ "filename" : "Slice 316@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "icon_录音历史 2.png",
+ "filename" : "Slice 321@2x(1).png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "icon_录音历史 1.png",
+ "filename" : "Slice 321@3x(1).png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame 2255-3 1.png",
+ "filename" : "Slice 316@2x(4).png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame 2255-3.png",
+ "filename" : "Slice 316@3x(4).png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "实时双语字幕@2x.png",
+ "filename" : "Slice 320@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "实时双语字幕@3x.png",
+ "filename" : "Slice 320@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame 2255-4 1.png",
+ "filename" : "Slice 316@2x(3).png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame 2255-4.png",
+ "filename" : "Slice 316@3x(3).png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame_1938@2x(1).png",
+ "filename" : "Slice 334@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame_1938@3x(1).png",
+ "filename" : "Slice 334@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame_1938@2x(2).png",
+ "filename" : "Slice 333@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame_1938@3x(2).png",
+ "filename" : "Slice 333@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame_1938@2x.png",
+ "filename" : "Slice 332@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame_1938@3x.png",
+ "filename" : "Slice 332@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Frame_1938@2x(3).png",
+ "filename" : "Slice 331@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Frame_1938@3x(3).png",
+ "filename" : "Slice 331@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "上传@2x.png",
+ "filename" : "Slice 339@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "上传@3x.png",
+ "filename" : "Slice 339@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
+++ /dev/null
-{
- "images" : [
- {
- "filename" : "Frame.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "filename" : "Frame@2x.png",
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "filename" : "Frame@3x.png",
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
+++ /dev/null
-{
- "images" : [
- {
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "filename" : "Group 1255@2x.png",
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "filename" : "Group 1255@3x.png",
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
"scale" : "1x"
},
{
- "filename" : "Ellipse_52@2x.png",
+ "filename" : "Slice 297@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Ellipse_52@3x.png",
+ "filename" : "Slice 297@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Group 1255@2x.png",
+ "filename" : "Slice 298@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Group 1255@3x.png",
+ "filename" : "Slice 298@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
"scale" : "1x"
},
{
- "filename" : "Group_2440@2x.png",
+ "filename" : "Slice 377@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
- "filename" : "Group_2440@3x.png",
+ "filename" : "Slice 377@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
var radarImageView = UIImageView()
override func setupViews() {
- if CCConfig.appType == .deepchords {
+ if CCConfig.appType == .playboy {
+ addSubviews([radarImageView])
+
+ radarImageView.do { v in
+ v.image = UIImage(named: "radar_icon")
+ //
+ let animation = CABasicAnimation.init(keyPath: "transform.rotation.z")
+ animation.beginTime = 0.0
+ animation.fromValue = 0.0
+ animation.toValue = 2*Double.pi
+ animation.duration = 2
+ animation.repeatCount = MAXFLOAT
+ v.layer.add(animation, forKey: "radar.transform.rotation.x")
+ }
+ radarImageView.snp.makeConstraints { make in
+ make.size.equalTo(200)
+ make.center.equalToSuperview()
+ }
+ }
+ else if CCConfig.appType == .deepchords{
addSubviews([rippleView,radarImageView])
rippleView.startAnimating()
radarImageView.do { v in
v.image = UIImage(named: "device_logo")
- //
- // let animation = CABasicAnimation.init(keyPath: "transform.rotation.z")
- // animation.beginTime = 0.0
- // animation.fromValue = 0.0
- // animation.toValue = 2*Double.pi
- // animation.duration = 2.5
- // animation.repeatCount = MAXFLOAT
- // v.layer.add(animation, forKey: "radar.transform.rotation.x")
}
radarImageView.snp.makeConstraints { make in
make.width.equalTo(58)
make.center.equalToSuperview()
}
}
- else{
- addSubviews([radarImageView])
+ else if CCConfig.appType == .paxa{
+ addSubviews([rippleView,radarImageView])
+ rippleView.startAnimating()
radarImageView.do { v in
- v.image = UIImage(named: "radar_icon")
- //
- let animation = CABasicAnimation.init(keyPath: "transform.rotation.z")
- animation.beginTime = 0.0
- animation.fromValue = 0.0
- animation.toValue = 2*Double.pi
- animation.duration = 2
- animation.repeatCount = MAXFLOAT
- v.layer.add(animation, forKey: "radar.transform.rotation.x")
+ v.image = UIImage(named: "device_logo")
}
radarImageView.snp.makeConstraints { make in
- make.size.equalTo(200)
+ make.width.equalTo(74)
+ make.height.equalTo(16)
+ make.center.equalToSuperview()
+ }
+ rippleView.snp.makeConstraints { make in
+ make.size.equalTo(250)
make.center.equalToSuperview()
}
}
IQKeyboardManager.shared.enableAutoToolbar = false
IQKeyboardManager.shared.isEnabled = true
IQKeyboardManager.shared.resignOnTouchOutside = true
+
+ UITextField.appearance().tintColor = .color(.theme)
+
}
static func loadCache(){
if CacheManager.shared.user.isLogin {
class BleUpdateVC:BaseVC{
let icon = UIImageView(image: UIImage(named: "update_icon"))
let versionLabel = UILabel()
- let btn = UIButton(type: .custom)
+ let btn = CustomButton()
let autoChecked:Bool
init(checked:Bool) {
self.autoChecked = checked
v.textColor = .color(.level1)
v.numberOfLines = 0
}
- btn.do { v in
- v.setTitle("检查更新".l10n, for: .normal)
- v.titleLabel?.font = .bold(14)
- v.setTitleColor(.black, for: .normal)
- v.addTarget(self, action: #selector(tapAction), for: .touchUpInside)
- v.backgroundColor = .hexString("#EDEDED")
- v.yc.setCornerRadius(12)
- }
+// btn.do { v in
+// v.setTitle("检查更新".l10n, for: .normal)
+// v.titleLabel?.font = .bold(14)
+// v.setTitleColor(.black, for: .normal)
+// v.addTarget(self, action: #selector(tapAction), for: .touchUpInside)
+// v.backgroundColor = .hexString("#EDEDED")
+// v.yc.setCornerRadius(12)
+// }
+ btn.set(title: "检查更新".l10n,style: .theme1, target: self, action: #selector(tapAction))
icon.do { v in
v.contentMode = .center
}
}
textFiledBg.do { v in
if CCConfig.appType == .deepchords{
- v.yc.setBorder(width: 2, color: .color(.theme), radius: 10)
- }
- else{
v.backgroundColor = .rgb(0x3E3E3E)
v.yc.setCornerRadius(10)
}
+ else{
+ v.yc.setBorder(width: 2, color: .color(.theme), radius: 10)
+ }
}
textFiled.do { v in
okButton.do { (v) in
v.setTitle("确定".l10n, for: .normal)
v.titleLabel?.font = .bold(16)
- if CCConfig.appType == .deepchords{
- v.setTitleColor(.white, for: .normal)
- v.backgroundColor = UIColor.color(.theme)
- }
- else{
+ if CCConfig.appType == .playboy{
v.setTitleColor(.rgb(0x121212), for: .normal)
v.backgroundColor = UIColor.white
}
+ else{
+ v.setTitleColor(.white, for: .normal)
+ v.backgroundColor = UIColor.color(.theme)
+ }
v.addTarget(self, action: #selector(okButtonAction), for: .touchUpInside)
v.yc.setCornerRadius(12)