Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaerfei762 committed Nov 18, 2021
1 parent 847458d commit 01b48d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _posts/2021-11-17-swift-cls-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ sil_vtable Subject {

我们调试一下调用过程:

![]({{ site.baseurl }}/assets/images/03-swift-method-00.png)
![]({{ site.baseurl }}/assets/images/swift/03-swift-method-00.png)

我画了如下图来加强理解:

![]({{ site.baseurl }}/assets/images/03-swift-method-01.png)
![]({{ site.baseurl }}/assets/images/swift/03-swift-method-01.png)

也可以在 **Swift-source** 中看到初始化的时候,按顺序取加载方法:

Expand Down Expand Up @@ -108,7 +108,7 @@ sil_vtable Subject {

我们可以调试一下:

![]({{ site.baseurl }}/assets/images/03-swift-method-02.png)
![]({{ site.baseurl }}/assets/images/swift/03-swift-method-02.png)

当调用 **method3** 的时候,直接调用的是确切的地址,而不是去 V-table 中去调用。

Expand Down
2 changes: 1 addition & 1 deletion deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if(!commit || commit.length == 0) {
}

console.log(commit);
shell.exec('proxy');
shell.exec('export all_proxy=socks5://127.0.0.1:1080');
shell.exec('npm run build');
shell.exec('git add .');
shell.exec("git commit -m '" + commit + "' --no-verify");
Expand Down

0 comments on commit 01b48d8

Please sign in to comment.