开发一般APP必备三方库,省力秘籍!!!本篇文章会经常更新最新常用的三方。
1.网络请求库 AFNetworking
https://github.com/AFNetworking/AFNetworking
swift版
https://github.com/Alamofire/Alamofire
2.图片缓存器 SDWebImage
https://github.com/rs/SDWebImage
swift版
https://github.com/onevcat/Kingfisher
3.下拉刷新上拉加载 MJRefresh
https://github.com/CoderMJLee/MJRefresh
4.JSON与Object互转
JSONModel
https://github.com/jsonmodel/jsonmodel
MJExtension
https://github.com/CoderMJLee/MJExtension
swift版本
SwiftyJSON
https://github.com/SwiftyJSON/SwiftyJSON
ObjectMapper
https://github.com/tristanhimmelman/ObjectMapper
5.加载进度框 MBProgressHUD
https://github.com/jdg/MBProgressHUD
6.Toast提示信息 SVProgressHUD
https://github.com/SVProgressHUD/SVProgressHUD
7.键盘管理 IQKeyboardManager
https://github.com/hackiftekhar/IQKeyboardManager
8.富文本(占位符的textview、label文字居上对齐、加中划线下划线)YYText
https://github.com/ibireme/YYText
9.SQLite数据库框架 FMDB
swift版本
https://github.com/stephencelis/SQLite.swift
10.跨平台轻量级数据库 Realm
https://github.com/realm/realm-cocoa
11.自动布局 Masonry
https://github.com/SnapKit/Masonry
12.图片轮播(旋转木马等各种切换效果) iCarousel
https://github.com/nicklockwood/iCarousel
https://github.com/12207480/TYCyclePagerView
13.无限循环图片轮播 SDCycleScrollView
https://github.com/gsdios/SDCycleScrollView
14.导航下面提示信息 TSMessages
https://github.com/KrauseFx/TSMessages
15.圆形进度 DACircularProgress
https://github.com/danielamitay/DACircularProgress
16.照片浏览器 CorePhotoBroswerVC
https://github.com/CharlinFeng/CorePhotoBroswerVC
17.图片浏览器,相册选择器,自定义照相机(支持单拍、连拍)
LGPhotoBrowser
https://github.com/gang544043963/LGPhotoBrowser
TZImagePickerController
https://github.com/banchichen/TZImagePickerController
18.钥匙串存储 SAMKeychain
https://github.com/soffes/SAMKeychain
19.原生与JavaScript交互 WebViewJavascriptBridge
https://github.com/marcuswestin/WebViewJavascriptBridge
20.图表统计展示 PNChart
https://github.com/kevinzhow/PNChart
swift版本
https://github.com/kevinzhow/PNChart-Swift
21.判断是否连网 Reachability
https://github.com/tonymillion/Reachability
22.未读消息小红点 RKNotificationHub
https://github.com/cwRichardKim/RKNotificationHub
23.分段选择控制视图 NinaPagerView
https://github.com/RamWire/NinaPagerView
https://github.com/pujiaxin33/JXCategoryView
https://github.com/kingsic/SGPagingView
https://github.com/HeshamMegid/HMSegmentedControl
24.仿安卓吐丝效果Toast
https://github.com/scalessec/Toast
25.离线缓存
https://github.com/ibireme/YYCache
26.响应式编程(牛逼得很,但是我更倾向于原生开发,代码易读)
https://github.com/ReactiveCocoa/ReactiveObjC
27.各种文字动画效果
swift版本
https://github.com/lexrus/LTMorphingLabel
28.tableview占位图
https://github.com/ZhipingYang/FORScrollViewEmptyAssistant
29.MGJRouter路由
https://github.com/meili/MGJRouter
30.DDLog自定义日志管理
https://github.com/CocoaLumberjack/CocoaLumberjack
31.MLeaksFinder 腾讯自动检测内存泄露
https://github.com/Tencent/MLeaksFinder
32.上图下文(左图右文等)的按钮
https://github.com/SPStore/SPButton
33.文字跑马灯(向左移动,向上滚动)
https://github.com/jinht/Marquee
34.二维码条形码
https://github.com/MxABC/LBXScan
35.常用的分类
https://github.com/shaojiankui/JKCategories
36.不错的导航栏(设置透明、隐藏线、平滑过渡等)
https://github.com/listenzz/HBDNavigationBar
37.视频播放器
https://github.com/renzifeng/ZFPlayer
https://github.com/tencentyun/SuperPlayer_iOS/wiki
38.tableview悬停
https://github.com/wangmchn/WMPageController
https://github.com/yongyuandouneng/YNPageViewController
常用的Xcode插件
1.代码对齐
https://github.com/qfish/XAlign
2.Json转属性
https://github.com/keepyounger/Json2Property
https://github.com/Ahmed-Ali/JSONExport
常用的功能
1.友盟统计分析(页面统计、事件统计、计数统计)
2.推送(极光、个推)
3.分享(友盟、shareSDK)
4.地图(百度、高德)
5.人脸识别(face++、商汤科技)
6.即时通讯(环信、融云 网易云)
7.崩溃统计(友盟、腾讯Bugly)
8.支付(支付宝、微信、苹果内购、通联)
支付宝原生支付 https://opendocs.alipay.com/open/54/104509
支付宝手机网站支付(H5)转native支付 https://opendocs.alipay.com/open/203/106493
微信原生支付 https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=8_5
APP拉起微信小程序支付 https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Launching_a_Mini_Program/iOS_Development_example.html (这博客不错 https://www.jianshu.com/p/03e5c1c2b928)
9.openinstall (通过scheme,universal links等技术,从各种浏览器(兼容国内50+主流浏览器与社交平台,包括微信、QQ、新浪微博、钉钉等主流社交软件的内置浏览器)一键拉起App并传递自定义参数) https://www.openinstall.io/doc/
10.直播 腾讯云(直播间,聊天室,文档演示)
常用的工具
1.抓包工具 Charles
2.git分布式代码管理工具 SourceTree
3.SVN代码管理工具 CornerStone
4.数据库开发工具 Nacicat Premium
5.根据UI给的Sketch文件自己切图看尺寸 Sketch
6.三方库管理工具 CocoaPods 、 Carthage
7.解除百度网盘限速 SVIP https://github.com/CodeTips/BaiduNetdiskPlugin-macOS
8.iTerms2终端加自定义主题 oh-my-zsh
https://github.com/robbyrussell/oh-my-zsh
https://www.jianshu.com/p/9c3439cc3bdb
9.模拟定位打卡(企业微信打卡、钉钉打卡都行)
https://github.com/zhengwenming/ChangeLocation
10.jenkins自动化打包ipa并上传到蒲公英或者fir
11.腾讯、爱奇艺、优酷等视频vip破解
https://github.com/iodefog/VipVideo
12.禅道(测试提bug)
13.腾讯实时在线文档、便于多人一块编辑同步项目进度