摘要: 前言:记录一下ios开发中NFC添加密码功能,卡类型为(NFCMiFareTag -->NFCMiFareUltralight),调用的iOS方法为:sendMiFareCommand。 一、JS代码实现,调用的ios原生NFC发送方法,针对卡类型为NTAG216的卡片。 NTAG212、NTAG2 阅读全文
posted @ 2019-10-18 17:49 李小辉— 阅读(1520) 评论(0) 推荐(0) 编辑
摘要: 一、NDEF格式的 使用 NFCNDEFReaderSession。Delegate为:NFCNDEFReaderSessionDelegate 1、初始化对象 @property(strong,nonatomic)NFCNDEFReaderSession *session; @property(s 阅读全文
posted @ 2019-10-16 18:11 李小辉— 阅读(5147) 评论(1) 推荐(0) 编辑
摘要: http://modelend.com 阅读全文
posted @ 2018-09-28 09:16 李小辉— 阅读(228) 评论(0) 推荐(0) 编辑
摘要: http://limboy.me/ http://tech.meituan.com/tag/ReactiveCocoa https://www.coursera.org/course/reactive http://blog.leichunfeng.com/blog/2015/12/25/react 阅读全文
posted @ 2017-07-14 15:35 李小辉— 阅读(198) 评论(0) 推荐(0) 编辑
摘要: http://www.jianshu.com/p/06ee358ad5c0 阅读全文
posted @ 2017-02-20 10:47 李小辉— 阅读(268) 评论(0) 推荐(0) 编辑
摘要: http://www.cocoachina.com/ios/20161207/18310.html 阅读全文
posted @ 2016-12-08 14:24 李小辉— 阅读(113) 评论(0) 推荐(0) 编辑
摘要: - (UIImage *)scaleFromImage:(UIImage *)image { if (!image) { return nil; } NSData *data =UIImagePNGRepresentation(image); CGFloat dataSize = data.leng 阅读全文
posted @ 2016-11-03 16:52 李小辉— 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1. 报错: Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:] 解决:- (UITableViewCell *)tableView:(UITableView *)tableView cellForRo 阅读全文
posted @ 2016-09-08 13:16 李小辉— 阅读(226) 评论(0) 推荐(0) 编辑
摘要: SnapKit: 布局 Kingfisher: 缓存图片 SVProgressHUD:提示框 FDFullscreenPopGesture:侧滑 Alamofire :网络请求 SwiftyJSON:解析 json MJRefresh: 上拉刷新和下拉刷新 SnapKit: 布局 Kingfishe 阅读全文
posted @ 2016-08-23 13:47 李小辉— 阅读(127) 评论(0) 推荐(0) 编辑
摘要: http://www.cocoachina.com/ios/20160822/17393.html 阅读全文
posted @ 2016-08-23 11:10 李小辉— 阅读(81) 评论(0) 推荐(0) 编辑