Skip to content

关于UIImage的内存问题与解决方案

Notifications You must be signed in to change notification settings

LeoAiolia/HXImage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HXImage

如有疑问请: @冷秋 @Forever波波哥哥

Usage 使用

选择任意 Plan 目录, 导入到工程中:

导入头文件

#import "UIImage+HXImage.h"

创建图片

使用该方法, 对于重复创建的ImageName仅仅只会创建一个 UIImage 对象, 对于不需要的Image会自动销毁.

UIImage *image = [UIImage hx_imageNamed:@"image"];

About

关于UIImage的内存问题与解决方案

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%