PRACTICAL Tips-App slimming

  • Use Asset Catalog, full use of the App Thining Apple provided (App Slicing, Bitcode, On-Demand Resources)
  • Delete unwanted pictures using LSUnusedResources tools can be, the principle is the find command to find all of the resource files, and resource files in the code, and then do the set difference is a useless
  • Picture compression. Small picture (100k or less) using tinypng or imageoptim to compress the image to
  • Picture compression. Big Picture (100k or more) using webp picture compressed into webp format, and then use libwep decompression can be displayed in time.
  • Dead code, category search, delete. AppCode static analysis (not very accurate, the need for manual secondary confirmation). Clang development code inspection tool (more than one million the amount of code can be considered)
Published 139 original articles · won praise 35 · views 410 000 +

Guess you like

Origin blog.csdn.net/wxs0124/article/details/89556593
Recommended