会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ZhangShengjie
学无止境
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
15
下一页
2020年7月25日
使用sourcetree 出现 For user git on host github.com 解决方案
摘要: 1、本身在 代码仓库管理(github)上已经配置了自己电脑的SSH公钥 但是在使用 sourcetree 还是会报 For user git on host github.com 的错误 2、解决方案 打开终端 进去到相应的项目位置 执行 git pull 一下 会有两个提示你确认公钥 输入yes
阅读全文
posted @ 2020-07-25 15:30 ZhangShengjie
阅读(5982)
评论(0)
推荐(0)
2020年7月9日
iOS App Store下载的付费软件 重新签名后 安装到未越狱的手机上
摘要: 1、准备一个越狱的手机、先下载好你要安装的软件、然后远程登录到越狱手机上 ssh root@手机ip地址 2、使用Clutch 脱壳该软件 步骤如下 Clutch -i 列举出手机中未脱壳的软件 Clutch -d +列举出来的软件签名的序列号 脱壳指定的软件 3、拿到脱壳后的IPA ,后缀名改成z
阅读全文
posted @ 2020-07-09 17:41 ZhangShengjie
阅读(1130)
评论(0)
推荐(0)
2020年5月16日
LaunchScreen.storyboard 换了图片 不能更改过来 解决方案
摘要: 1、换的图片用一个新的名字、不要用之前的名字 2、将图片放在项目目录下、不要放在Assets.xcassets 里
阅读全文
posted @ 2020-05-16 15:28 ZhangShengjie
阅读(547)
评论(0)
推荐(0)
2020年3月31日
iOS Google 地图 集成详解
摘要: 第一步你需要一个注册一个谷歌开发者账号 地址 https://console.cloud.google.com/ 创建一个凭据 3、启用 如下两个 API 4、Google 集成文档 https://developers.google.com/maps/documentation/ios-sdk/i
阅读全文
posted @ 2020-03-31 18:21 ZhangShengjie
阅读(740)
评论(0)
推荐(0)
2020年3月1日
iOS 函数式编程
摘要: 特点:不同的东西进行组合、做完一件事 还能继续做另一件事 1、以实现计算器为例 @interface JiSuanQiManger : NSObject @property (nonatomic,assign) NSInteger rsult; -(JiSuanQiManger *)jiSuan:(
阅读全文
posted @ 2020-03-01 16:42 ZhangShengjie
阅读(153)
评论(0)
推荐(0)
iOS [self class] 、 [self superclass]、 [super class] 、[super superclass] 几种情况对比
摘要: 例子 新建一个父类、一个子类 Person SubPerson 在子类中打印 #import "SubPerson.h" #import <objc/message.h> @implementation SubPerson -(void)test{ NSLog(@"%@",[self class])
阅读全文
posted @ 2020-03-01 14:29 ZhangShengjie
阅读(548)
评论(0)
推荐(0)
iOS 链式编程-Block 作为放回值
摘要: 例子 实现一个计算器 #import "CalcuteManger.h" @implementation CalcuteManger -(CalcuteManger *(^)(NSInteger))add{ return ^(NSInteger num){ _result+=num; return
阅读全文
posted @ 2020-03-01 13:35 ZhangShengjie
阅读(146)
评论(0)
推荐(0)
2020年2月16日
iOS block的变量捕获(capture)
摘要: 变量捕获会在blcok结构体内部生成一个变量已来存储捕获到的指针或者值 #import "Person.h" @implementation Person /* oc每个函数后面都自带 (Person * self, SEL _cmd) -(void)test:(Person * self, SEL
阅读全文
posted @ 2020-02-16 23:21 ZhangShengjie
阅读(625)
评论(0)
推荐(0)
iOS Block本质探究
摘要: 1、编写测试代码 并将其转换成c++代码 查看具体实现 进入main.m所在目录 执行 xcrun -sdk iphoneos clang -arch arm64 -rewrite-objc main.m 或者 xcrun -sdk iphoneos clang -arch arm64 -rewri
阅读全文
posted @ 2020-02-16 21:25 ZhangShengjie
阅读(133)
评论(0)
推荐(0)
2020年2月11日
iOS 读写操作 处理 pthread_rwlock dispatch_barrier_async
摘要: pthread_rwlock:读写锁 #import "ViewController.h" #import <Pthread.h> @interface ViewController () @property (nonatomic,assign) pthread_rwlock_t lock; @en
阅读全文
posted @ 2020-02-11 23:01 ZhangShengjie
阅读(763)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
15
下一页
公告