Skip to content

A collection of code substitutions and configurations that can improve Objective-C code performance on iOS.

Notifications You must be signed in to change notification settings

haeminn/iOS-App-Performance-Cheatsheet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iOS App Performance Cheatsheet

A collection of code substitutions and configurations that can improve the performance of Objective-C code on iOS.

Most code substitutions and configurations documented here consist of replacing high-level APIs that were made for flexibility over performance with lower-level alternatives for the task at hand, or class properties that affect drawing performance. Good architecture and proper threading is always important for app performance, but sometimes we need to use specialized implementations.

Table of Contents

iOS App Performance Cheatsheet is sectioned into Markdown files by Objective-C framework:

Why is this on GitHub?

  • Great format for saving to disk or accessing via the web
  • Encourages contributions and improvements
  • GitHub Flavored Markdown looks nice

Disclaimer

There is a reason why this is called a cheatsheet. You should avoid premature optimizations, and only seek out code replacements when you have determined that a specific code path has become a performance bottleneck. Hopefully, however, this cheatsheet will provide a bit of insight into some of the bottlenecks that usually arise, and some of the options available to you.

Contributions

Pull requests are welcome! The best contributions will consist of substitutions or configurations for classes/methods known to block the main thread during a typical app lifecycle.

Contact

About

A collection of code substitutions and configurations that can improve Objective-C code performance on iOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published