删除本地消息,出现cell重用错误。
reason: 'could not dequeue a view of kind: UICollectionElementKindCell with identifier ChatScreenCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
reason: 'could not dequeue a view of kind: UICollectionElementKindCell with identifier ChatScreenCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
2017-05-16
最新回答 / 树儿
宏一般是用于 设置使用量比较多的常量 可以清晰的一键改变多个位置的常量的数值。tag用于设定控件的标识,是唯一的定值,一般一个class类不要有tag重复就好了。当然宏本来就是为了方便编码,我自己感觉是没必要,因为tag一般是不会轻易改变的,当然如果你开心,你就设置也是没问题的。
2017-01-02