ios开发
文章平均质量分 57
zch617helloword
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
NSNotification 通知接收不到消息
在操作通知的时候,应该先注册观察者:原创 2014-10-23 17:19:26 · 610 阅读 · 0 评论 -
ios7之后提供Base64的API
在IOS7之后,苹果提供了将NSData转化为Base64编码的API:/* Create an NSData from a Base-64 encoded NSString using the given options. By default, returns nil when the input is not recognized as valid Base-64.*/- (in原创 2014-12-18 22:54:01 · 5170 阅读 · 0 评论 -
NSStringCompareOptions
enum{ NSCaseInsensitiveSearch = 1,//不区分大小写比较 NSLiteralSearch = 2,//区分大小写比较 NSBackwardsSearch = 4,//从字符串末尾开始搜索 NSAnchoredSearch = 8,//搜索限制范围的字符串 NSNumbericSearch = 64转载 2015-03-16 17:08:47 · 417 阅读 · 0 评论 -
swift 调用 C语言库
目前了解到两种调用C语法方法方式:这里以系统中自带的“/usr/include/CommonCrypto/CommonCrypto.h”为例一: 使用桥接文件。 创建一个桥接文件xxx.h,然后在Build setting 中 “Objective-C Bridging Header” 中添加刚刚创建的xxx.h文件,例如:然后在将需要使用的头文件名写入xxx.h文原创 2016-06-15 18:54:01 · 1721 阅读 · 0 评论
分享