整理了学习iOS之后常用的第三方库,后续有其他的会继续更新
希望可以帮助到你
网络请求:
博客提到过
https://blog.csdn.net/weixin_52259822/article/details/122617212
解析数据
博客提到过
https://blog.csdn.net/weixin_52259822/article/details/122617212
页面布局
博客提到过
https://blog.csdn.net/weixin_52259822/article/details/122617212
获取定位
coreLocation官方API
博客有讲过
https://blog.csdn.net/weixin_52259822/article/details/122617212
轮播图
下拉刷新
博客提到过
https://blog.csdn.net/weixin_52259822/article/details/122617212
画曲线
日期日历
NSCalendar官方API
博客有提到过
https://blog.csdn.net/weixin_52259822/article/details/122617675
搜索栏
UISearchController
博客提到过
https://blog.csdn.net/weixin_52259822/article/details/122617675
YYKit工具库
PageView
图片加载
缓存支持的异步图像下载器
绘画
PencilKit(如果要用到pencil的话pencil也很强大)
缓存
沙盒和列表数据缓存
博客提过
https://blog.csdn.net/weixin_52259822/article/details/122617212
SQLite.swift
聊天回复
没用后端实现,其实是一个响应事件
lazy var chatBoxView: ChatBoxView = {
let vi = ChatBoxView()
vi.backgroundColor = .systemGray6
vi.tapSendHandler = { text in
let message = ChatMessage(text: text, uid: 1, time: nil)
self.messages.append(message)
saveChatHistory([message])
Timer.scheduledTimer(withTimeInterval: 1, repeats: false, block: { _ in
let message = ChatMessage(text: "自动回复【测试】", uid: 0, time: nil)
self.messages.append(message)
saveChatHistory([message])
})
vi.textView.text = ""
}
return vi
}()
第三方库网站