上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: https://blog.csdn.net/dangbai01_/article/details/81099001 (1)Protobuf是什么? Protobuf 即 google protocol buffer 是一种数据封装格式协议,是google推出 的一种语言无关、平台无关、扩展性好的用于 阅读全文
posted @ 2019-04-22 09:20 sundaysios 阅读(3848) 评论(0) 推荐(0) 编辑
摘要: 1.调用的时候我明明改成了 .mm , 也添加了libstdc++.dylib 调用自己(xcode )写的(cocoa static lib )c++ ,编译总是报找不到库里的函数, 最后我在调用的.mm文件里写了一个c++类,在这个类里调用, 在objc里用这个c++类指针,成功了, KFC(K 阅读全文
posted @ 2019-04-18 16:55 sundaysios 阅读(1983) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/jingzhishen/p/3696293.html sizeof()用法汇总sizeof()功能:计算数据空间的字节数1.与strlen()比较 strlen()计算字符数组的字符数,以"\0"为结束判断,不计算为'\0'的数组元素。 而sizeof 阅读全文
posted @ 2019-04-18 16:34 sundaysios 阅读(1549) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1974) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/814e71e19175 为防止出问题,建议以这样的方法做: 1.建一个OC工程命名为SwiftOC 20160112195923174.png 2.新建一个swfit文件命名为Test.swift,会弹出提示,选择Create Bridging 阅读全文
posted @ 2019-04-17 14:40 sundaysios 阅读(7682) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(215) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/357fab4b84e7 Masonry 与 frame 混用可能出现子控件大小跟预期不一致的情况,具体是什么样呢? 例如,自定义一个 UIView 的子类SmallView,SmallView 中含有一个 UIImageView,在控制器创建Sm 阅读全文
posted @ 2019-03-21 16:10 sundaysios 阅读(897) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(2462) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页