Статья с практическими приёмами для повышения производительности вашего приложения.
🟢Profile Ruthlessly with Instruments
🟢Optimize Auto Layout with
isActive🟢Reduce Dynamic Dispatch with
final and private🟢Cache Expensive Operations
🟢Leverage
CALayer.shouldRasterize for Complex Views🟢Offload Work to Background Threads
🟢Use
UILabel.preferredMaxLayoutWidth for Self-Sizing Cells🟢Opt for
UIImage(named:) Over UIImage(contentsOfFile:)🟢Minimize
drawRect: Overrides🟢Lazy-Load Non-Visible Content
Читать (En)
