Swift 4.1 迁移小技巧 —— CompactMap | kemchenj
source link: https://kemchenj.github.io/2018-04-01/?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Recommend
-
115
给 String 实现一个安全的 subscript 方法 发表于 2017-10-09 更新于 2022-05-11 本文字数: 2.8k完整的实现:
-
135
最近刚换工作,在迁移 Swift 4.0,其实我感觉 Swift 3.0 的时候迁移工作更容易一点,因为所有库都很积极地升级版本,而现在反而都在做 Swift 3.2 的兼容方案,每个库的兼容状况不同让迁移工作变得更难。但今天想说的是另一个问题,Codable 的迁移,我们项目里是用...
-
102
原文:Generics Manifesto – Douglas Gregor 译者注在我慢慢地深入使用 Swift 之后,碰壁了很多次,很大一部分都是因为 Swift 的泛型系统导致的,很多抽象都没办法很好地表达出来,所以就翻译了这篇文章来学习一下 Swift 的泛型。 文章里特别提到了要用官方提到的...
-
77
用了 SnapKit 很久,一开始觉得这就是个很简单的语法糖,后面用着用着还是觉得有点磕磕绊绊,所以又回去看过了一遍官方文档,发现了几个 best practice 是我之前一直没留意到的,就写出来分享一下。
-
42
-
49
-
34
-
30
开启 Cocoapods 新选项,加快项目索引速度 2019-05-31 2020-12-06 2.6k前几天 Cocoapods 1.7.0 正式版发布了,我最期待的一个功能是 Multiple Pod Projects,昨天顺手就给接入了,项...
-
6
29 Jul 2018 software-dev
-
5
CollectionConcurrencyKit Welcome to CollectionConcurrencyKit, a lightweight Swift package that adds asynchronous and concurrent versions of the standard map, flatMap, compactMap...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK