小编Jua*_*njo的帖子

将float64封装在protobuf中的package

我正在使用微服务在 Stripe 中创建订阅。其中一个字段被列为 a ,我在文件中将float64其设置为 a 。这将该字段转换为not 。float.protofloat32float64

protobuf我看不到直接生成字段类型为 的文件的方法float64。有人可以帮我吗?有没有什么特殊的封装来protobuf封装a float64

非常感谢

go protocol-buffers

4
推荐指数
1
解决办法
4317
查看次数

KingFisher 5.0在Xcode 11.2中因EXC_BAD_INSTRUCTION崩溃

自从我将iOS更新到13.2后,我得到了Xcode 11.2(测试版和稳定版)。我一直在使用翠鸟没有错误,突然它与错误崩溃Thread 1: EXC_BAD_INSTRUCTION (code=1, subcode=0x210007)ImageDownloader行169:


sessionDelegate.onReceiveSessionChallenge.delegate(on: self) { (self, invoke) in
            self.authenticationChallengeResponder?.downloader(self, didReceive: invoke.1, completionHandler: invoke.2)
        }

Run Code Online (Sandbox Code Playgroud)

罪魁祸首是以下代码行tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath)


cell.productImageView.kf.setImage(with: self.datasource[indexPath.row].imageUrl)

Run Code Online (Sandbox Code Playgroud)

中的值self.datasource[indexPath.row].imageUrlhttp://sgfm.elcorteingles.es/SGFM/dctm/MEDIA03/201811/26/00118105700068____2__40x40.jpg

KingFisher 5迁移指南》说这应该可行。我究竟做错了什么?

更新:可以在以下位置找到有效的(崩溃的)概念:https//github.com/juanjoseluisgarcia/kignfishertest.git

kingfisher xcode11.2

3
推荐指数
1
解决办法
140
查看次数

标签 统计

go ×1

kingfisher ×1

protocol-buffers ×1

xcode11.2 ×1