基础篇
SVN和Git各适用于什么场景?
1 | svn适用于 低频次, 少数人, 安全性要求更高的场景 |
instancetype和id区别
1 | id可以作为方法的返回以及参数类型 也可以用来定义变量 |
id类型, nil , Nil ,NULL和NSNULL的区别?
1 | id类型: 是一个独特的数据类型,可以转换为任何数据类型,id类型的变量可以存放任何数据类型的对象, |
AutoReleasePool什么时候释放池里面的对象?
1 | AutoReleasePool实际上是有AutoReleasePage来实现的,而AutoReleasePage有点类似于堆栈,有一个push和pop操作。 |
JSCore的几个特性
1 | // 1. 单线程机制 |
参考: 深入理解JSCore
- 本文作者: 醉疏狂
- 本文链接: https://hubin97.github.io/2023/04/10/iOS相关知识梳理(二) /
- 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!