Software Dev

Simple iOS Performance Tips

A former  engineer gives us “a checklist of performance tips that would hopefully give you the biggest bang for your buck.”

I have noticed that there was a pattern of low-hanging fruits, where you could make 80% of the performance gains in 20% of the time.

👉 iOS Performance tips you probably didn’t know (from an ex-Apple engineer)

Cheat sheet:

  • UILabel costs more than than you think
  • Always start with serial queues, and only use concurrent queues as a last resort
  • Some system components will only free up memory when they receive a memory warning
  • Avoid using dispatch_semaphore_t to wait for asynchronous work
  • Don’t use UIView tags

Via iOS Dev Weekly.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.