会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sundaysios
sundaysios
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
19
下一页
2019年4月22日
ios之库Protobuf的使用
摘要: https://blog.csdn.net/dangbai01_/article/details/81099001 (1)Protobuf是什么? Protobuf 即 google protocol buffer 是一种数据封装格式协议,是google推出 的一种语言无关、平台无关、扩展性好的用于
阅读全文
posted @ 2019-04-22 09:20 sundaysios
阅读(4042)
评论(0)
推荐(0)
2019年4月18日
OC调用c++函数
摘要: 1.调用的时候我明明改成了 .mm , 也添加了libstdc++.dylib 调用自己(xcode )写的(cocoa static lib )c++ ,编译总是报找不到库里的函数, 最后我在调用的.mm文件里写了一个c++类,在这个类里调用, 在objc里用这个c++类指针,成功了, KFC(K
阅读全文
posted @ 2019-04-18 16:55 sundaysios
阅读(2029)
评论(0)
推荐(0)
offsetof(s,m)解析
摘要: https://www.cnblogs.com/jingzhishen/p/3696293.html sizeof()用法汇总sizeof()功能:计算数据空间的字节数1.与strlen()比较 strlen()计算字符数组的字符数,以"\0"为结束判断,不计算为'\0'的数组元素。 而sizeof
阅读全文
posted @ 2019-04-18 16:34 sundaysios
阅读(1593)
评论(0)
推荐(0)
2019年4月17日
iOS 基础:Frames、Bounds 和 CGGeometry
摘要: https://segmentfault.com/a/1190000004695617 原文:《iOS Fundamentals: Frames, Bounds, and CGGeometry》程康,2016 年 3 月 26 日本文原链:【译】iOS 基础:Frames、Bounds 和 CGGe
阅读全文
posted @ 2019-04-17 16:51 sundaysios
阅读(301)
评论(0)
推荐(0)
CGPoint、CGSize、CGRect、CGRectEdge的详细使用
摘要: http://blog.sina.com.cn/s/blog_953e22700101r7lz.html 在CGGeometry.h里的 CGPoint、CGSize、CGRect、CGRectEdge实际上都是结构体 struct CGPoint { CGFloat x; CGFloat y; }
阅读全文
posted @ 2019-04-17 16:48 sundaysios
阅读(2061)
评论(0)
推荐(0)
OC工程调用Swift方法
摘要: https://www.jianshu.com/p/814e71e19175 为防止出问题,建议以这样的方法做: 1.建一个OC工程命名为SwiftOC 20160112195923174.png 2.新建一个swfit文件命名为Test.swift,会弹出提示,选择Create Bridging
阅读全文
posted @ 2019-04-17 14:40 sundaysios
阅读(7706)
评论(0)
推荐(0)
2019年4月15日
xcode8 使用Instruments检测定位并解决iOS内存泄露
摘要: https://www.jianshu.com/p/9bc7e65fc247 2017.07.27 17:24* 字数 628 阅读 1319评论 6喜欢 21 2017.07.27 17:24* 字数 628 阅读 1319评论 6喜欢 21 2017.07.27 17:24* 字数 628 阅读
阅读全文
posted @ 2019-04-15 11:17 sundaysios
阅读(531)
评论(0)
推荐(0)
2019年4月12日
NSAssert的使用
摘要: https://www.jianshu.com/p/526dfd5cbb19 2016.08.04 12:06* 字数 517 阅读 3504评论 3喜欢 3 2016.08.04 12:06* 字数 517 阅读 3504评论 3喜欢 3 2016.08.04 12:06* 字数 517 阅读 3
阅读全文
posted @ 2019-04-12 10:09 sundaysios
阅读(238)
评论(0)
推荐(0)
2019年3月21日
Masonry 与 frame 混用导致的问题
摘要: https://www.jianshu.com/p/357fab4b84e7 Masonry 与 frame 混用可能出现子控件大小跟预期不一致的情况,具体是什么样呢? 例如,自定义一个 UIView 的子类SmallView,SmallView 中含有一个 UIImageView,在控制器创建Sm
阅读全文
posted @ 2019-03-21 16:10 sundaysios
阅读(971)
评论(0)
推荐(0)
2019年3月20日
iOS WebView 加载本地资源(图片,文件等)
摘要: https://www.cnblogs.com/dhui69/p/5596917.html iOS WebView 加载本地资源(图片,文件等) NSString *path = [[NSBundle mainBundle] pathForResource:@"关于.docx" ofType:nil
阅读全文
posted @ 2019-03-20 16:02 sundaysios
阅读(2564)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
19
下一页
公告