• When Hexo Comments Dont Match Post

    | /

    Last week I introduced a commenting system on my hexo blog.

    It all went well at first, until I found that at some point, the comment area and the blog post itself didn’t match.

    Finally I modified some code writing and finally fixed the problem.

    This blog post documents this slightly tortuous process.

  • iOS Crash 符号化解析

    | /

    在公司的时候,通常 Crash 平台都做的很好,帮我们做好了符号化解析,一些三方平台也会提供类似的能力。

    但我们还是会遇到需要自己做符号化解析的场景,比如某些线下包没有解析成功,又比如离开了公司提供的环境的时候等等。

    所以我们还是有必要了解如何做符号化解析。

  • VSCode 常用快捷键

    | /

    vscode 快捷键

    全局

    Command + Shift + P / F1 显示命令面板
    Command + P 快速打开
    Command + Shift + N 打开新窗口
    Command + W 关闭窗口

  • 浅谈当Swift中defer和inout同时起作用

    | /

    本文针对 Swiftdeferinout 以及 return 时相互影响的时候的情况进行简单的分析,目的是更好的理解 deferinout 原理以及使用场合,减少踩坑和提高debug效率。

    本文中的示例代码,均为 Swift 4.2 版本