自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ZhangJ的博客

ZhangJ的编码世界

  • 博客(9)
  • 资源 (16)
  • 收藏
  • 关注

转载 iOS 第三方库、插件、知名博客总结

用到的组件1、通过CocoaPods安装项目名称项目信息AFNetworking网络请求组件FMDB本地数据库组件SDWebImage多个缩略图缓存组件UICKeyChainStore存放用户账号密码组件Reachability监测网络状态DateTools友好化时间MBProgressHUD一款提示框第三方库MWPhotoBrowser一款简单的 iOS 照片浏览控件CTAssetsPicker...

2018-04-10 16:40:57 2242

原创 归档和反归档

//归档- (IBAction)archiverHandle:(id)sender { //创建学生对象 Student *stu = [[Student alloc] init]; stu.name = self.nameTF.text; stu.age = self.ageTF.text; //归档 //1.归档对象 N...

2018-04-01 10:07:24 295

原创 单例

单例+ (id)sharedManager { static id instance = nil; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ instance = [[[self class] alloc] init]; }); return ...

2018-04-01 10:06:40 138

原创 iOS数组排序(倒叙 生序 降序)

1.倒序在ios开发的过程中,经常需要使数组中的数据倒叙排列!比如在tableView显示数据的时候需要使数据倒序排列!那么如何解决数组的倒序排列问题呢?好多开发的小伙伴可能是便利数组的下标来获取,但是这种方法如果数据很大的情况下程序体验度会降低 , 这里介绍一个方法,一句话便可以搞定数组的倒序排序问题!//NSMutableArray *temp = [NSMutableArray ar...

2018-04-01 10:02:11 2679

原创 UIImageView

// 让图片保存比例 imageView.contentMode = UIViewContentModeCenter;// iOS 截取图片,并且保持图片原有比例,同时填充imageViewself.homePhotoImage.clipsToBounds = YES;[self.homePhotoImage setContentScaleFactor:[[UIScreen main...

2018-04-01 10:01:39 144

原创 七大手势

在设置手势之前一定要将用户交互打开self.userInteractionEnabled = YES;若是在做相册的话 设置捏合以及旋转手势之后 想让其在切换之后恢复原样 要抓住切换图片这个时机 切换图片设置的时候一般是轻扫和轻拍 要设置一个属性用来记录初始时候的transformCGAffineTransform _transform;之后将初始的相框属性赋值个给他_transform = se...

2018-04-01 09:59:38 578

原创 混编使用MRC和ARC

iOS中,MRC和ARC混编如果一个工程为MRC,其中要添加ARC的文件:选择target -> build phases -> compile sources -> 单击ARC的文件将compiler flags设置为:-fobjc-arc如果一个工程为ARC,其中要添加MRC的文件:同样的路径,然后单击MRC的文件将compiler flags设置为:-fno-objc-ar...

2018-04-01 09:57:56 296

原创 控制台输出中文

#import <Foundation/Foundation.h> @implementation NSDictionary (Log)- (NSString *)descriptionWithLocale:(id)locale{ NSMutableString *str = [NSMutableString string]; [str append...

2018-04-01 09:57:27 784

原创 冒泡排序法找数组中最大,最小值及其所在位置

3.找出下列整型数组中最大和最小值及其所在位置i. int a[] = {5,-9,32,77,64,-24,14,0,21,45};方法1: int a[] = {5,-9,32,77,64,-24,14,0,21,45}; int max=0; int min=0; int index = 0; for (int i =0; i<9; i++...

2018-04-01 09:56:56 11394

iOS16.4真机调试包

安装路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2024-06-25

iOS16.1真机调试包

安装路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2024-06-25

iOS16.0真机调试包

安装路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2024-06-25

iOS15.5真机调试包

安装路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2024-06-25

iOS15.4真机调试包

安装路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2024-06-25

ios 15.2真机调试包

安装路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2024-06-25

ios 15.0真机调试包

安装路径: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2024-06-25

14.6真机调试包.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-06-09

iOS14.5真机调试包.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-06-09

iOS13.0真机调试.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

iOS13.1真机调试.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

iOS13.2真机调试.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

iOS13.3真机调试.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

iOS13.4真机调试包.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

iOS13.5真机调试包.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

iOS13.7真机调试包.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

iOS14.4真机调试包.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

iOS14.2真机调试包.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

iOS14.1真机调试.zip

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2021-04-13

14.0真机调试包 安装路径:/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/De

14.0真机调试包 安装路径:/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/De

2020-08-14

13.6真机调试包 安装路径:/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/De

/应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

2020-08-14

12.3真机包.zip

iOS12.3真机调试包 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 前往->前往文件夹 将解压好的文件夹拖进去

2019-06-06

xcode11.4支持文件

xcode11.4支持文件,点击前往->前往文件夹->/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 解压之后添加进去

2018-08-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除