iOS开发中常用到的第三方库

  • Post author:
  • Post category:其他


整理了学习iOS之后常用的第三方库,后续有其他的会继续更新

希望可以帮助到你

网络请求:


AFNetworking


Alamofire




博客提到过



https://blog.csdn.net/weixin_52259822/article/details/122617212


解析数据


HandyJSON


SwiftyJSON




博客提到过



https://blog.csdn.net/weixin_52259822/article/details/122617212


页面布局


SnapKit




博客提到过



https://blog.csdn.net/weixin_52259822/article/details/122617212


获取定位

coreLocation官方API




博客有讲过



https://blog.csdn.net/weixin_52259822/article/details/122617212


轮播图


FSPagerView

下拉刷新


SwiftFCXRefresh




博客提到过



https://blog.csdn.net/weixin_52259822/article/details/122617212


画曲线


ScrollableGraphView

日期日历

NSCalendar官方API




博客有提到过



https://blog.csdn.net/weixin_52259822/article/details/122617675


搜索栏

UISearchController




博客提到过



https://blog.csdn.net/weixin_52259822/article/details/122617675


YYKit工具库


YYKit

PageView


DNSPageView

图片加载

缓存支持的异步图像下载器


SDWebImage

绘画


MaLiang

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
}()

第三方库网站




可以看看这个博客



https://www.jianshu.com/p/65818ead1697




版权声明:本文为weixin_52259822原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。