图片加载方式对比

对比两种常用的图片加载方法,并通过性能分析工具分析内存占用情况,帮助开发者根据实际应用场景选择合适的加载方式。

zip
testImageLoad.zip 预估大小:19个文件
folder
testImageLoad 文件夹
folder
testImageLoad 文件夹
file
main.m 340B
file
Default.png 6KB
file
AppDelegate.h 368B
file
AppDelegate.m 2KB
file
Default-568h@2x.png 18KB
file
testImageLoad-Prefix.pch 329B
file
11.jpg 899KB
file
Default@2x.png 16KB
file
ViewController.h 343B
file
testImageLoad-Info.plist 1KB
file
ViewController.m 835B
folder
en.lproj 文件夹
file
ViewController.xib 16KB
file
InfoPlist.strings 45B
folder
testImageLoad.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 158B
folder
xcuserdata 文件夹
folder
hymanwang.xcuserdatad 文件夹
file
UserInterfaceState.xcuserstate 19KB
file
project.pbxproj 13KB
folder
xcuserdata 文件夹
folder
hymanwang.xcuserdatad 文件夹
folder
xcschemes 文件夹
file
xcschememanagement.plist 485B
file
testImageLoad.xcscheme 3KB
file
.DS_Store 6KB
zip 文件大小:930.89KB