1 ,init控件方法里面就必须要有snp来调整view 和view子控件的问题,
2,以及block
typealias btnBlock = () ->Void
public func cancleblock(_ block:@escaping ()->())
{
self.cancleblock = block
}
3,aid = "\(value.object(forKey: "aid") ?? “ ” )” 解析防止空字符串
1 ,init控件方法里面就必须要有snp来调整view 和view子控件的问题,
2,以及block
typealias btnBlock = () ->Void
public func cancleblock(_ block:@escaping ()->())
{
self.cancleblock = block
}
3,aid = "\(value.object(forKey: "aid") ?? “ ” )” 解析防止空字符串
本文标题:lml_picAndTitleView的snp的问题
本文链接:https://www.haomeiwen.com/subject/rghuhxtx.html
网友评论