2017年11月1日
摘要:
递归锁 原理:递归锁也是通过 pthread_mutex_lock 函数来实现,在函数内部会判断锁的类型。NSRecursiveLock 与 NSLock 的区别在于内部封装的 pthread_mutex_t 对象的类型不同,前者的类型为 PTHREAD_MUTEX_RECURSIVE 运用场景:循
阅读全文
posted @ 2017-11-01 10:56
廖利君
阅读(3311)
推荐(0)
摘要:
1,当xcode搜索是 关键字换行 解决步骤 1,确认是否安装其他插件 2,打开快捷键页面 xcode -- preference 快捷键 commad+, 3,输入Insert Newline 出来下图 这个是可能安装其他插件的时候把这个回车键给消掉了 操作 fn+回车键 出现回车键即可
阅读全文
posted @ 2017-11-01 10:21
廖利君
阅读(179)
推荐(0)
摘要:
1,首先注册芝麻认证开发平台 https://b.zmxy.com.cn/product/productDetail.htm?productId=w1010100000000002978&scene=shop 2,查看芝麻认证文档中心 https://b.zmxy.com.cn/technology
阅读全文
posted @ 2017-11-01 09:45
廖利君
阅读(10589)
推荐(0)
2017年10月28日
摘要:
在Development类下就一种,用于真机调试Debug模式的描述文件 然而在Distribution类下,有2种描述文件。我们更多的只是用 App Store——Create a distribution provisioning profile to submit your app to th
阅读全文
posted @ 2017-10-28 11:00
廖利君
阅读(679)
推荐(0)
2017年10月20日
摘要:
#define Start_X 15.0f // 第一个按钮的X坐标 #define Start_Y 50.0f // 第一个按钮的Y坐标 #define Width_Space 20.0f // 2个按钮之间的横间距 #define Height_Space 20.0f // 竖间距 #defin
阅读全文
posted @ 2017-10-20 17:25
廖利君
阅读(166)
推荐(0)
2017年9月30日
摘要:
1,这几个控件的有一个共同的点是一样的 下面这句代码说的是这几个控件的左边离父控件的间隙都是25px [@[label1, label2, label3, label4,...] mas_makeConstraints:^(MASConstraintMaker *make){ make.left.e
阅读全文
posted @ 2017-09-30 11:31
廖利君
阅读(296)
推荐(0)
2017年9月27日
摘要:
1,实例化一个UILable 2, // 创建一个富文本 NSMutableAttributedString *attri = [[NSMutableAttributedString alloc] initWithString:@"超时罚款24元/小时"]; NSTextAttachment *at
阅读全文
posted @ 2017-09-27 11:54
廖利君
阅读(4885)
推荐(0)
2017年9月20日
摘要:
Xcode的代码片段(Code Snippets)创建自定义的代码片段,当你重用这些代码片段时,会给你带来很大的方便。 常用的: 1.strong:@property (nonatomic,strong) <#Class#> *<#object#>;2.weak:@property (nonatom
阅读全文
posted @ 2017-09-20 16:35
廖利君
阅读(503)
推荐(0)
2017年8月11日
posted @ 2017-08-11 11:39
廖利君
阅读(0)
推荐(0)
posted @ 2017-08-11 11:38
廖利君
阅读(0)
推荐(0)