完全讲解:https://medium.com/tsengineering/swift-4-0-codable-decoding-subclasses-inherited-classes-heterogeneous-arrays-ee3e180eb556
分类: 未分类
关于代码命名中使用到的单词
评星、打分: rank、rate、rating
排名:rank
iOS Icon 图标集合生成工具
移动端开发前沿博客、资料
iOS:
官方:
https://swift.org
可能是大神级:
https://ericasadun.com
http://swifter.tips
比较用心的私人博客:
https://www.jianshu.com/u/efce1a2a95ab
介绍一个swift编程代码组织方式和单元测试方法(有付费)
swift 线程安全
线程安全的数组:http://basememara.com/creating-thread-safe-arrays-in-swift/
后端web开发资料
关于后端web架构和部署:https://www.cnblogs.com/flish/p/5267902.html
尝试使用 Python,可能会在机器学习领域用到,使用VSCode编辑器,Python的换行规则得到了良好的解决。
使用到的库:Flask框架,SQLAichemy工具库
https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320114981139589ac5f02944601ae22834e9c521415000
https://zhuanlan.zhihu.com/p/27939537
https://www.oschina.net/translate/sqlalchemy-vs-orms
pip install sqlalchemy
iOS, AutoLayout资料
https://stackoverflow.com/questions/36280699/how-to-set-a-custom-views-intrinsic-content-size-in-swift
Autolayout的布局, 监听这两个 NSNotification.Name.UIKeyboardWillShow, NSNotification.Name.UIKeyboardWillHide 通知的方法里
invalidateIntrinsicContentSize后再调用layoutIfNeeded 会引起动画
QRCode
http://blog.csdn.net/wangjianno2/article/details/14128625
蓝牙4.0相关资料(LBE)
LBE应用,iOS平台上只能是基于GATT协议的(貌似是比较通用的一个协议)
GATT简述:分主设备(Client)/外围设备(Service、Peripheral)) ,比如蓝牙耳机就是一个Service(会广播自己的信息),手机(client)主动搜索并连接耳机,Service接受连接后就可以按照协议交换信息。一个设备可以包含多个Service,每个Service可以包含多个提供数据的Characteristic,如图:(具体如何广播(advancing),如何交换信息,后边再讲)
苹果关于蓝牙4.0的规范文档:https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf
蓝牙官方文档下载页面:https://www.bluetooth.com/specifications/adopted-specifications
蓝牙4.2官方文档:Core Version 4.2 (我们主要关心应用层(第六章在97页)
BLUETOOTH APPLICATION ARCHITECTURE)
GATT协议官方资料:https://www.bluetooth.com/specifications/generic-attributes-overview
UserDataService(UDS)资料:1.0
iOS 8.0以后位置权限授权问题
官方文档: https://developer.apple.com/reference/corelocation/cllocationmanager#1669513
https://developer.apple.com/library/content/qa/qa1937/_index.html