var block:UITableViewBlock? {
get{
return objc_getAssociatedObject(self, &key) as? UITableViewBlock
}
set{
objc_setAssociatedObject(self, &key,newValue, .OBJC_ASSOCIATION_RETAIN)
}
}
var block:UITableViewBlock? {
get{
return objc_getAssociatedObject(self, &key) as? UITableViewBlock
}
set{
objc_setAssociatedObject(self, &key,newValue, .OBJC_ASSOCIATION_RETAIN)
}
}
本文标题:分类添加属性
本文链接:https://www.haomeiwen.com/subject/nomefrtx.html
网友评论