Teemo
Teemo
在使用TABAnimated展示骨架屏的时候,会与DNZEmptyDataSet库的方法关联,导致隐藏骨架屏后,dataSource的Count和接口的返回个数不一致。
不知道基于什么考虑,添加了这些代码 unichar spacingChar = 0xFFFC; NSString *spacingCharString = [NSString stringWithCharacters:&spacingChar length:1]; //空白占位符 NSAttributedString *placeholderStr = [[NSAttributedString alloc]initWithString:spacingCharString]; [str appendAttributedString:placeholderStr];
其实就是键盘和UIMenuController的并存问题: 1.需要增加一个自定义的TextView,支持设置nextResponder 2.CJLabel需要增加一个长按的回调或者通知,让业务层去监听当前谁即将成为Responder, 业务层去设置TextView的nextResponder 3.自定义的TextView需要监听UIMenuController的生命周期,取消nextResponder
希望楼主抽空忙一一下。。
就是在下拉刷新,发起请求了,请求数据已经下来了,但是下拉刷新这个控件不能自然回到导航栏背后。
网络: 应用启动前,开启飞行模式,无网络 启动逻辑: 冷启动,会触发接口,同时触发tableView的骨架屏start,设置6个cell 结果: 毫秒内出现骨架屏,骨架屏结束后,接着显示无数据的页面 bug: 当这个时候下拉刷新,发现dataSource没有变化,显示结束动画的cell 分析: 为啥dataSource没有变化,应该为0? 打印:_runIndexDict内容 "0":-100000,但是这个时候self.state = TABViewAnimationRunning 个人分析:由于断网,结束骨架屏很快,即使 self.state = TABViewAnimationEnd,但是weakTargetViewArray里的内容还没来的及释放,但是已经触发队列任务,productIndex++后,syncProductions会把state重置,所以重新下拉刷新的时候,state仍为running,最后原来dataSource
I have a file upload request, and moya will return the upload progress, but I need to get the upload speed, how should I handle it?
 - atlantis-proxyman (1.24.0) This happens whether the client software is started or no!