248 lines
8.4 KiB
Swift
248 lines
8.4 KiB
Swift
|
|
import Foundation
|
|
|
|
import UIKit
|
|
|
|
class NRegisterSceneCell: UICollectionViewCell {
|
|
var formatterArrowStr: String!
|
|
var hiveIralEtailList: [Any]!
|
|
private var panModityEditString: String!
|
|
private var response_size: Double? = 0.0
|
|
|
|
|
|
|
|
var model : MTypeAvgation? {
|
|
didSet {
|
|
coverImageView.sr_setImage(model?.image_url)
|
|
let count = model?.watch_total ?? 0
|
|
if count >= 1000 {
|
|
let value = Double(count) / 1000.0
|
|
let text = String(format: "%.1fk", value)
|
|
|
|
|
|
hotLabel.text = text.replacingOccurrences(of: ".0k", with: "k")
|
|
} else {
|
|
hotLabel.text = "\(count)"
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
lazy var bgImageView = UIImageView(image: UIImage(named: "iconDefaultsProgress"))
|
|
|
|
lazy var coverImageView: TPRegisterView = {
|
|
let imageView = TPRegisterView()
|
|
imageView.layer.cornerRadius = 2
|
|
imageView.layer.masksToBounds = true
|
|
return imageView
|
|
}()
|
|
|
|
lazy var hotIconImage = UIImageView.init(image: .userAble)
|
|
|
|
lazy var hotLabel : UILabel = {
|
|
let labe = UILabel()
|
|
labe.textColor = .srBlue
|
|
labe.font = .font(ofSize: 10, weight: .regular)
|
|
return labe
|
|
}()
|
|
|
|
override init(frame: CGRect) {
|
|
super.init(frame: frame)
|
|
sr_setui()
|
|
}
|
|
|
|
required init?(coder: NSCoder) {
|
|
fatalError("init(coder:) has not been implemented")
|
|
}
|
|
|
|
}
|
|
|
|
extension NRegisterSceneCell {
|
|
|
|
@discardableResult
|
|
func presentCellularAppearance(episodeTrophy: [String: Any]!, fractionPath: String!) -> Bool {
|
|
var ategoryK: String! = "textmovsub"
|
|
var encodec: Double = 2.0
|
|
var thimraF: Bool = false
|
|
withUnsafeMutablePointer(to: &thimraF) { pointer in
|
|
_ = pointer.pointee
|
|
}
|
|
var modalY: Int = 4
|
|
var a_imageJ: Double = 3.0
|
|
var grouped2: String! = "umotion"
|
|
while (1 <= modalY) {
|
|
a_imageJ *= Double(modalY % (Swift.max(7, grouped2.count)))
|
|
break
|
|
}
|
|
a_imageJ *= Double(grouped2.count >> (Swift.min(labs(1), 4)))
|
|
if (a_imageJ - 1.22) > 1.41 && (a_imageJ - 1.22) > 4.38 {
|
|
var c_objectF: String! = "tget"
|
|
grouped2.append("\(modalY / 3)")
|
|
c_objectF = "\(c_objectF.count)"
|
|
}
|
|
a_imageJ += Double(grouped2.count)
|
|
for _ in 0 ..< 3 {
|
|
modalY *= grouped2.count % (Swift.max(7, modalY))
|
|
}
|
|
var lodingT: Bool = true
|
|
withUnsafeMutablePointer(to: &lodingT) { pointer in
|
|
|
|
}
|
|
var from6: Bool = false
|
|
_ = from6
|
|
repeat {
|
|
var description_sH: String! = "getcut"
|
|
modalY *= modalY % 3
|
|
description_sH = "\((grouped2.count & Int(a_imageJ > 287770190.0 || a_imageJ < -287770190.0 ? 32.0 : a_imageJ)))"
|
|
if 111173 == modalY {
|
|
break
|
|
}
|
|
} while (111173 == modalY) && (2.80 <= (a_imageJ + 5.69) && (5.69 + a_imageJ) <= 1.62)
|
|
a_imageJ -= (Double((lodingT ? 1 : 4)))
|
|
var maskR: String! = "hdlr"
|
|
_ = maskR
|
|
var logoB: String! = "timingsafe"
|
|
modalY %= Swift.max(5, (Int(a_imageJ > 144407485.0 || a_imageJ < -144407485.0 ? 43.0 : a_imageJ)))
|
|
maskR.append("\(logoB.count)")
|
|
logoB.append("\(grouped2.count / (Swift.max(2, 3)))")
|
|
from6 = 31 > modalY && a_imageJ > 90.28
|
|
ategoryK = "\((Int(a_imageJ > 228988356.0 || a_imageJ < -228988356.0 ? 80.0 : a_imageJ)))"
|
|
for _ in 0 ..< 3 {
|
|
var fireh: [String: Any]! = ["excluding":"iss", "stuffnd":"initiate"]
|
|
var short_1O: Float = 3.0
|
|
var transparentp: String! = "pretwiddle"
|
|
var efine7: Bool = true
|
|
var objl: [Any]! = [585, 720, 599]
|
|
_ = objl
|
|
var buttonY: String! = "boundall"
|
|
_ = buttonY
|
|
transparentp = "\((2 * Int(short_1O > 144215697.0 || short_1O < -144215697.0 ? 44.0 : short_1O)))"
|
|
objl = [objl.count % 2]
|
|
buttonY = "\(((String(cString:[70,0], encoding: .utf8)!) == transparentp ? transparentp.count : Int(short_1O > 24836277.0 || short_1O < -24836277.0 ? 56.0 : short_1O)))"
|
|
repeat {
|
|
var home_: String! = "far"
|
|
withUnsafeMutablePointer(to: &home_) { pointer in
|
|
_ = pointer.pointee
|
|
}
|
|
var search3: Bool = true
|
|
var pathsi: String! = "mpjpeg"
|
|
_ = pathsi
|
|
fireh[pathsi] = pathsi.count & home_.count
|
|
search3 = fireh.keys.count >= 72 || efine7
|
|
if 2896473 == fireh.count {
|
|
break
|
|
}
|
|
} while (2896473 == fireh.count) && (1 >= fireh.values.count)
|
|
var w_tag_: Int = 5
|
|
var userV: Int = 3
|
|
repeat {
|
|
efine7 = transparentp.count >= 6
|
|
if efine7 ? !efine7 : efine7 {
|
|
break
|
|
}
|
|
} while (transparentp.hasSuffix("\(efine7)")) && (efine7 ? !efine7 : efine7)
|
|
var logoZ: Float = 0.0
|
|
var willR: Double = 2.0
|
|
_ = willR
|
|
transparentp = "\((Int(logoZ > 206206695.0 || logoZ < -206206695.0 ? 72.0 : logoZ) << (Swift.min(1, labs(1)))))"
|
|
willR /= Swift.max(2, Double(w_tag_))
|
|
var eychainV: [Any]! = [332, 16, 990]
|
|
var r_centerg: Int = 3
|
|
_ = r_centerg
|
|
var itemj: Float = 5.0
|
|
efine7 = userV > 84
|
|
eychainV.append(r_centerg)
|
|
r_centerg ^= r_centerg
|
|
itemj /= Swift.max(Float(2 + w_tag_), 1)
|
|
var print_yF: String! = "puts"
|
|
w_tag_ %= Swift.max(transparentp.count, 4)
|
|
print_yF.append("\((3 & Int(short_1O > 90788780.0 || short_1O < -90788780.0 ? 37.0 : short_1O)))")
|
|
for _ in 0 ..< 1 {
|
|
var rivacy9: String! = "then"
|
|
var firey: [String: Any]! = ["cfftf":"exceeds", "sqlitechangeset":"blank"]
|
|
var partsn: Double = 4.0
|
|
var premiereV: [String: Any]! = ["writecopy":406.0]
|
|
w_tag_ >>= Swift.min(3, labs(3))
|
|
rivacy9 = "\((1 - Int(partsn > 248909197.0 || partsn < -248909197.0 ? 49.0 : partsn)))"
|
|
firey = [rivacy9: (Int(partsn > 198486828.0 || partsn < -198486828.0 ? 38.0 : partsn) % (Swift.max(rivacy9.count, 4)))]
|
|
premiereV = ["\(firey.keys.count)": firey.keys.count]
|
|
}
|
|
for _ in 0 ..< 2 {
|
|
fireh = [transparentp: ((efine7 ? 2 : 2))]
|
|
}
|
|
var rooto: Bool = false
|
|
short_1O -= Float(transparentp.count)
|
|
rooto = !efine7
|
|
fireh = ["\(fireh.values.count)": fireh.count]
|
|
w_tag_ <<= Swift.min(fireh.values.count, 1)
|
|
ategoryK = "\(((efine7 ? 2 : 3) & 3))"
|
|
}
|
|
var cryptorH: Bool = true
|
|
_ = cryptorH
|
|
cryptorH = !cryptorH
|
|
while (cryptorH && !cryptorH) {
|
|
cryptorH = (cryptorH ? cryptorH : !cryptorH)
|
|
break
|
|
}
|
|
cryptorH = (cryptorH ? !cryptorH : cryptorH)
|
|
thimraF = !ategoryK.contains("\(encodec)")
|
|
for _ in 0 ..< 3 {
|
|
encodec *= (Double((thimraF ? 2 : 1) | Int(encodec > 119361266.0 || encodec < -119361266.0 ? 35.0 : encodec)))
|
|
}
|
|
repeat {
|
|
ategoryK = "\(((thimraF ? 5 : 4) * Int(encodec > 29979143.0 || encodec < -29979143.0 ? 19.0 : encodec)))"
|
|
if 556039 == ategoryK.count {
|
|
break
|
|
}
|
|
} while (556039 == ategoryK.count) && (thimraF)
|
|
while (4 > (Int(encodec > 308757738.0 || encodec < -308757738.0 ? 58.0 : encodec) * ategoryK.count) || 4.17 > (5.15 * encodec)) {
|
|
encodec *= (Double(ategoryK == (String(cString:[90,0], encoding: .utf8)!) ? (thimraF ? 5 : 5) : ategoryK.count))
|
|
break
|
|
}
|
|
return thimraF
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func sr_setui (){
|
|
|
|
let prepareInouts: Bool = presentCellularAppearance(episodeTrophy:["v_89_busy":746, "cudascale":944], fractionPath:"unformatted")
|
|
|
|
if !prepareInouts {
|
|
print("ok")
|
|
}
|
|
|
|
_ = prepareInouts
|
|
|
|
|
|
|
|
contentView.addSubview(bgImageView)
|
|
contentView.addSubview(coverImageView)
|
|
contentView.addSubview(hotIconImage)
|
|
contentView.addSubview(hotLabel)
|
|
|
|
|
|
bgImageView.snp.makeConstraints { make in
|
|
make.edges.equalToSuperview()
|
|
}
|
|
|
|
coverImageView.snp.makeConstraints { make in
|
|
make.edges.equalTo(UIEdgeInsets(top: 15, left: 8, bottom: 15, right: 8))
|
|
}
|
|
|
|
hotLabel.snp.makeConstraints { make in
|
|
make.right.equalTo(-10)
|
|
make.top.equalTo(18)
|
|
}
|
|
|
|
hotIconImage.snp.makeConstraints { make in
|
|
make.right.equalTo(hotLabel.snp.left).offset(-3)
|
|
make.centerY.equalTo(hotLabel)
|
|
make.size.equalTo(CGSizeMake(9, 10))
|
|
}
|
|
}
|
|
}
|