Skip to content

Instantly share code, notes, and snippets.

@Josscii
Last active June 8, 2017 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Josscii/22330cfdb3ec682e13e07b7ad4df56ca to your computer and use it in GitHub Desktop.
Save Josscii/22330cfdb3ec682e13e07b7ad4df56ca to your computer and use it in GitHub Desktop.
iOS 保持界面流畅的学习路径

这篇 tip 是我在探究如何保持 iOS 界面流畅的学习路径。


- Runloop

了解 Runloop 有助于帮助我们明白 iOS 程序是如何运行的。

官方文档

ibireme 的深入理解RunLoop


- GPU

学习 GPU 有助于让我们了解像素是如何绘制到屏幕上的。

WWDC 2014 Session 419 - Advanced Graphics and Animations for iOS Apps 上半场

Getting Pixels onto the Screen


- Instruments

通过这个工具,我们能够找到性能问题究竟出在哪里。

WWDC 2014 Session 419 - Advanced Graphics and Animations for iOS Apps 下半场

官方文档 - Instruments User Guide


- UIView & CALayer

UIView 背后有 CALayer 做后盾,CALayer 负责渲染的工作。

WWDC 2011 Session 211 - Understanding UIKit Rendering

View-Layer Synergy


- Walkthrough

结合所有的技巧来保持界面流畅。

ibireme 的iOS 保持界面流畅的技巧

WWDC 2012 Session 238 - iOS App Performance: Graphics and Animations

WWDC 2012 Session 419 - Building Concurrent User Interfaces on iOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment