Avatar notebook default
46篇文章 · 27053字 · 1人关注
  • Resize,w 360,h 240
    iOS 内存管理

    1. 内存布局 stack:方法调用 heap:通过alloc等分配的对象 bss:未初始化的全局变量 data:已初始化的全局变量 text:...

  • OC- Json 转 Model

    objc_getClass 和 class_copyPropertyList // 获取对象 // 获取 properties // Loop ...

  • Swift 5.1读书笔记

    Swift 的阅读笔记 Swift is a powerful and intuitive programming language for m...

  • 类别和扩展

    类别和扩展 类别可以让你的方法添加到现有的类甚至是一个你没有来源。类别是一个强大的功能,允许您在不进行子类化的情况下扩展现有类的功能。使用类别,...

  • Resize,w 360,h 240
    iOS ~ Auto Layout

    参考文档 safeAreaLayoutGuide Positioning Content Relative to the Safe Area D...

  • Resize,w 360,h 240
    iOS ~ 性能优化须知道

    参考文档:Instruments 官方文档Instruments 使用教学.VideoOptimizing App Startup Time 官...

    2.8 1336 0 18
  • Resize,w 360,h 240
    Swift 中如何优雅地解除闭包中的循环引用

    Apple官方文档传送门 Defining a Capture List Weak and Unowned References 当闭包和它捕获...

  • Resize,w 360,h 240
    iOS ~CollectionView 渐变色背景

    代码实现 重点解析 zPosition The layer’s position on the z axis. Animatable. var ...

  • Resize,w 360,h 240
    iOS~关联类型、关联值、关联对象

    1、Associated Type (关联类型) Practical Protocols with Associated Types Swift...

文集作者