CNLivePickerReusingModel.swift
665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// CNLivePickerReusingModel.swift
// metaCode
//
// Created by zx on 2023/12/18.
// 复用model
import Foundation
class CNLivePickerReusingModel:BaseModel{
/**
可见的titleLab
*/
lazy var visible:NSMutableArray = {
let visible = NSMutableArray()
return visible
}()
/**
缓存的titleLab
*/
lazy var cache:NSMutableArray = {
let cache = NSMutableArray()
return cache
}()
}
//复用view Model
class CNLivePickerReusingViewModel:NSObject{
/**
显示在的行 如果不显示为-1
*/
var row:Int = 0
/**
显示的view
*/
var titleLab:UILabel?
}