240 发简信
IP属地:台湾
  • iOS KVO (Key-Value Observing) 和 KVC (Key-Value Coding) 的原理

    Key-Value Coding (KVC) KVC 是一种访问对象属性的机制,它允许通过字符串键(key)间接访问属性,而不是直接调用存取方法...

    25 0 0 02.19 12:06
  • Swift 小数点多语适配

    在 Swift 中进行小数点多语言适配,可以利用 NumberFormatter 来根据用户的地区设置来格式化数字。这对于显示货币、百分比或一般...

    120 0 0 2024.11.21 12:52
  • 终端命令

    zip -q 不显示压缩进度状态-r 子目录及子目录下文件全部压缩-e 对压缩文件进行加密,终端会提示输入密码zip -r -P pwd fil...

    63 0 0 2024.07.02 02:07
  • 使用CAGradientLayer实现渐变效果

    示例: 在这个示例中,渐变层从红色到蓝色,从左到右渐变。你可以自由地调整colors、locations、startPoint和endPoint...

    627 0 0 2024.03.21 08:59
  • 使用AFNetworking下载文件

    文件存储路径 文件下载 Tips 使用NSURL的类方法URLWithString生成网络url 使用NSURL的类方法fileURLWithP...

    1193 0 0 2023.07.12 07:40
  • GitHub 配置SSH方式验证身份及遇到的问题

    GitHub 配置SSH方式验证身份:通过双重身份验证、SSH、和提交签名验证等功能保持帐户和数据的安全。[https://docs.githu...

    1453 0 1 2022.07.07 02:19
  • iOS local identifiers

    iOS Locale Identifiers[https://gist.github.com/jacobbubu/1836273]

    360 0 0 2022.06.01 13:06
  • pod init 报错

    Command Report What did you do? What did you expect to happen? What happ...

    1.5 1345 1 3 2022.04.08 06:25
  • Resize,w 360,h 240
    git push 异常问题及Personal access token的使用

    密码验证于2021年8月13日不再支持,不能再用密码方式去提交代码。请用使用 personal access token 替代。 生成 pers...

    1038 0 0 2021.08.18 03:20