![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IOS
满天飞鱼
这个作者很懒,什么都没留下…
展开
-
IOS单例模式
1.创建宏2.编写宏内容#if __has_feature(objc_arc) //满足条件,ARC #define SingleH(name) +(instancetype)shared##name;+ (instancetype)default##name; #define SingleM(name) static id _instance;\ + (instancetype)allocWithZone:(struct _NSZone *)zone{..原创 2021-10-20 10:06:43 · 213 阅读 · 0 评论 -
ios多线程下载图片
1.数据源LMQApps.h@property (nonatomic, strong) NSString *name;@property (nonatomic, strong) NSString *icon;@property (nonatomic, strong) NSString *download;+ (instancetype)appWithDic:(NSDictionary *)dic;+ (instancetype)appWithName:(NSString *)name i原创 2021-10-25 10:57:01 · 1272 阅读 · 0 评论 -
ios使用的框架
1.SDWebImage 图片下载2.SVProgressHUD 弹窗3.Charts 图4.MJRefresh 刷新5.MJExtension 对象转模型6.SSZipArchive 压缩 解压缩原创 2021-11-03 10:21:45 · 98 阅读 · 0 评论