Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kemchenj authored Aug 4, 2019
1 parent f39d642 commit 4331dcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Reports/2019/#78-2019.08.05.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@
- 通用知识
- 视野

### 🐎 [Swift 5 之后 "Method Swizzling"](https://mp.weixin.qq.com/s/8z7A_-d0ZvvAJ3155DogvA)

[@四娘](kemchenj.github.io):Swift 5.1 里新增了一个私有功能叫做 Dynamic Method Replacement,可以简单地理解为一个类型安全的 Method Swizzle

瓜神在这篇文章里给我们介绍了这个功能的使用方法以及内部的实现,并且通过阅读源码解决了连环 Hook 失效的问题

## 工具

> 开发过程中常用的工具,及一些新工具的介绍
Expand Down

0 comments on commit 4331dcc

Please sign in to comment.