随笔 - 411  文章 - 0  评论 - 61  阅读 - 100万

随笔分类 -  Swift/OC

1 2 下一页
海康威视(iOS集成)
摘要:一、注意事项 1.在开发海康威视的SimpleDemo时,最好使用真机,因为海康提供的5个库不支持模拟的i386架构。 2.在XCode9.3版本上运行SimpleDemo时,对.mm文件进行编辑时,XCode直接回闪退,经测试在XCode9.1可以正常运行 3.配置好这些参数 4.拿海康提供的de 阅读全文
posted @ 2018-08-15 19:21 洛易 阅读(1359) 评论(0) 推荐(0) 编辑
Objective-C
摘要:1. .h文件 2. .m文件 3.Autosynthesized property 'm_lUserID' will use synthesized instance variable '_m_lUserID', not existing instance variable 'm_lUserID' 阅读全文
posted @ 2018-08-14 13:17 洛易 阅读(203) 评论(0) 推荐(0) 编辑
dyld`__abort_with_payload:
摘要:dyld`__abort_with_payload: 0x1030422f0 <+0>: mov x16, #0x209 0x1030422f4 <+4>: svc #0x80 -> 0x1030422f8 <+8>: b.lo 0x103042310 ; <+32> 0x1030422fc <+1 阅读全文
posted @ 2018-05-07 19:38 洛易 阅读(3901) 评论(0) 推荐(0) 编辑
关于FMDatabase executeQuery的问题
摘要:如果你碰到这个问题,请查看idx的值,并查看SQL语句中第6个字段的值有问题(从0开始),比如你给的值是NSInteger会报错,需要将其转成NSString。 阅读全文
posted @ 2018-03-09 13:19 洛易 阅读(188) 评论(0) 推荐(0) 编辑
An Objective-C Error
摘要:Incompatible integer to pointer conversion assigning to 'NSInteger *' (aka 'long *') from 'int' 主要是因为 NSInteger 变量加了 *; 去掉就可以了 阅读全文
posted @ 2018-01-18 16:07 洛易 阅读(220) 评论(0) 推荐(0) 编辑
关于XCode更换项目名称
摘要:1.打开项目直接修改项目名称 2.直接修改分组名 3.然后、command+B会报错 4.找到项目源文件 YourProject.xcodeproj - > 右键显示包内容->找到project.pbxproj文件,用记事本打开,把你原来的项目名称全部替换成新的项目名称即可。 5. 阅读全文
posted @ 2017-11-28 09:09 洛易 阅读(214) 评论(0) 推荐(0) 编辑
“Info.plist” couldn’t be removed
摘要:Showing All Messages error: failed to remove /Users/Rubert/Library/Developer/Xcode/DerivedData/ProjectName-xx-gslcvoevlyetnjewhrczzmiyszgj/Build/Produ 阅读全文
posted @ 2017-11-03 15:34 洛易 阅读(1879) 评论(0) 推荐(0) 编辑
关于IOS某图片添加控件,图片从相册或拍照保存后,再次进入时点击放大图无法显示的问题
摘要:某图片添加控件: https://github.com/XZTLLQ/LQPhotoPickerDemo 问题: 标题已说明 代码块: 问题是由于标红代码导致,这里的ALAssetsLibrary对象需要用单例 代码如下: 阅读全文
posted @ 2017-09-27 10:05 洛易 阅读(236) 评论(0) 推荐(0) 编辑
requestsManager:didFailRequest:withError: Error Domain=com.albertodebortoli.goldraccoon Code=-1000 "(null)" UserInfo={message=Unknown error!}
摘要:场景:最近IOS开发中需要用到FTP上传,最初是用GoldRaccoon 看后台FTPServer日志,一直都是disconnected。自己对FTP也是懂些皮毛,所以只剩下一坑的无奈。FTP服务器是挂在局域网,然后外网映射了一个地址可以访问,android和web都没问题,唯独iOS不行。 百度、 阅读全文
posted @ 2017-09-23 14:11 洛易 阅读(1038) 评论(0) 推荐(0) 编辑
IOS-异常处理
摘要:http://blog.csdn.net/ndscoahz/article/details/50866229 http://www.cnblogs.com/snail-007/p/4564422.html 阅读全文
posted @ 2017-07-12 14:47 洛易 阅读(141) 评论(0) 推荐(0) 编辑
not available in automatic reference counting mode
摘要:UncaughtExceptionHandler.m:156:47: 'autorelease' is unavailable: not available in automatic reference counting mode ARC forbids explicit message send 阅读全文
posted @ 2017-07-06 14:23 洛易 阅读(273) 评论(0) 推荐(0) 编辑
IOS基础知识
摘要:1.self = [super init] http://blog.csdn.net/aoyuehan11/article/details/10268231 2.@class #import http://www.jianshu.com/p/6057b18dc0a2 3.@property和@syn 阅读全文
posted @ 2017-06-28 13:46 洛易 阅读(171) 评论(0) 推荐(0) 编辑
关于CBC for ios 加密要记
摘要:倒腾了接近半天,资料找了无数,最后是通过查看Android项目中的加密工具类,才弄明白,在这过程中掌握了一些知识点。比如: 问题1:关于PKCS7Padding和PKCS5Padding iOS中AES加密算法采用的填充是PKCS7Padding,而java不支持PKCS7Padding,只支持PK 阅读全文
posted @ 2017-06-28 09:29 洛易 阅读(376) 评论(0) 推荐(0) 编辑
Format specifies type 'int' but the argument has type 'struct node *'
摘要:/Users/Rubert/IOS/iworkspace/LineList/LineList/main.c:205:37: Format specifies type 'int' but the argument has type 'struct node *' 阅读全文
posted @ 2016-10-06 13:51 洛易 阅读(1348) 评论(0) 推荐(0) 编辑
Swift与OC之间的选择
摘要:1.稳定性 在Swift2.0出来的时候,1.0的代码基本上改了个遍。 2.必要性 目前app store上大概有100w个是oc写的,如果是单纯的爱好,可以学习Swift,如果从事职业开发,那么还是学oc 3.侧面 从以上两点就可以做出判断 https://www.zhihu.com/questi 阅读全文
posted @ 2016-05-19 07:37 洛易 阅读(745) 评论(0) 推荐(0) 编辑
The dependency `BaiduMapKit` is not used in any concrete target
摘要:RubertdeMacBook-Pro:项目名 Rubert$ pod install Analyzing dependencies [!] The dependency `BaiduMapKit` is not used in any concrete target. 已下是我找到解决办法后,运行 阅读全文
posted @ 2016-05-11 16:17 洛易 阅读(774) 评论(0) 推荐(0) 编辑
setValue:forUndefinedKey
摘要:*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x12b24d950> setValue:forUndefinedKey:]: this class 阅读全文
posted @ 2016-05-11 10:07 洛易 阅读(1139) 评论(0) 推荐(0) 编辑
duplicate symbols
摘要:duplicate symbol _mCollecatView in: /Users/Rubert/Library/Developer/Xcode/DerivedData/ChengDuHidengDangerManage-bktvlkdyhtfruecsycmmvjohrqul/Build/Int 阅读全文
posted @ 2016-05-11 09:37 洛易 阅读(418) 评论(0) 推荐(0) 编辑
sudo gem install cocoapods
摘要:在使用IOS_BaiduSDK的时候,需要用到cocoapods,所以就需要按照步骤继续着。但是在过程中会遇到一些问题: 1. sudo gem install cocoapods 运行这个报错 具体问题答案在这个地址里面找 http://blog.csdn.net/meegomeego/artic 阅读全文
posted @ 2016-05-08 14:55 洛易 阅读(2324) 评论(0) 推荐(0) 编辑

1 2 下一页
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示