Pantao
Pantao
@ccnyou Use 'refreshLabels' method after reloadData, could fix.
> 比起RN有什么优势吗? 你得比较 lua js的特性吧 原理上 除了flutter以外 rn weex mln hippy 原理都是一样的
和jspatch没啥区别吧 不被拒是因为用的人不多
自己处理,这说白了不就是多线程吗,我们自己处理的。
> > [self.titleLabel setSingleLineAutoResizeWithMaxWidth:100]; > > 这个再加上试试 > > 那自动设置宽度还有啥用? 看源码对于宽度自适应的逻辑都是基于maxWidth的if条件里面
 试试这样改
侧面说明阿里自己的产品都没有用这个库,我iPhone12更新到iOS15 beta3。我的个人app出现了这个crash,手机上阿里系的app全都安然无恙。
 试试这样改
> @pantaopt @crazypoo 这样修改语意变了吧? > > ```swift > (lldb) po self is Metadata.Class > true > > (lldb) po self is Metadata.Class.Type > false > ``` 对的,这个方案是治标不治本。 我没有细研究HandyJson细节,大致看了下别人对其原理的解释。大致是利用swift的反射来改写内存吧。 所以当你项目中构造的model都是继承自HandyJson,这个方案没有问题,如果你项目中还有其他代码或库是与HandyJson一样的实现原理来做的,就会触发到这块代码,可能就会有意想不到的异常了。 我这边公司电脑没有xcode13,看报错堆栈,应该是crash在is...
I think should avoid doing some potentially risky things in the dealloc method.