由私有库开源出来的只库代码,不含库示例的工程:https://gitee.com/dvlpPublic/iOS
目前含有:
前言
每个Demo,包含
| 类别 | 工程名 | 备注 |
|---|---|---|
| iOS | xxx-yyy-iOS | |
| React | xxx-yyy-React | |
| ReactNative | xxx-yyy-ReactNative | |
| Flutter | xxx-yyy-Flutter | |
| 原生与 Web的JS 桥接 | xxx-yyy-JSBridge | |
| 原生与 React Native 桥接 | xxx-yyy-ReactNativeBridge | TSDemoBridgeDemo |
| 原生与 Flutter 桥接 | xxx-yyy-FlutterBridge | |
附:跨平台学习
一、Demo
CQDemo
二、UIKit 组件
1、UIKit目录
| 序号 | 库 | 备注 | 状态 |
|---|---|---|---|
| 1 | 001-UIKit-BaseUIKit | 对BaseUIKit集成可设置Theme主题的库 | |
| 2 | 001-UIKit-BaseVCKit | 基础的视图控制器 BaseViewController ①ViewController ②NavigationController ③TabBarController(依赖CYLTabBarController和CQBridgeSTOLottie:桥接Swift版本的lottie-ios到OC中使用) |
|
| 3 | 002-UIKit-PopupContainer | 弹窗的容器信息(为各种不同的弹窗添加顶部下拉线、顶部工具栏等 CJPopupContainer CQPopupContainerAnimation |
|
| 3 | 002-UIKit-Overlay | ActionSheet、Alert、Toast、HUD | |
| 4 | 003-UIKit-Effect | 下拉刷新、上拉加载、空白页等 | |
| 5 | 004-UIKit-Image | 图片库 | |
| 5 | 004-UIKit-TextInput | 输入框库 | |
| 5 | 004-UIKit-Popup | ||
| 6 | 005-UIKit-List | ||
| 7 | 005-UIKit-List-ImageAddDelete | 图片添加删除列表 | |
| 8 | 006-UIKit-DatePicker | 日期选择 | |
| 9 | 006-UIKit-ImagePicker | 图片选择器(从相机中拍摄/从相册中选择) | |
| 10 | |||
| 11 | 008-UIKit-Segmented | Segmented | |
| 12 | 009-UIKit-Guide | 引导页 | |
| 13 | 011-UIKit-Line | 各种线条 Line | |
| 14 | |||
| 15 | |||
| 16 |
待归类的CJCustomView、CJAnimationKit、APN、CJMonitor、Environment
| 序号 | 库 | 备注 | 状态 |
|---|---|---|---|
| 1 | |||
| 14 | |||
| 15 | CJCustomView | 所有自定义视图存放的项目 | |
| 16 | CJAnimationKit | 动画库 https://gitee.com/dvlproad/CJAnimationKit | |
| APN | 推送 https://github.com/dvlproad/APNS | ||
| CJMonitor | 监听/Log https://github.com/dvlproad/CJMonitor | ||
| Environment | 环境切换 https://github.com/dvlproad/Feature-Environment-iOS | ||
2、基础UIKit各部分
001-UIKit-BaseUIKit——(对BaseUIKit集成可设置Theme主题的库)
- 001-UIKit-ThemeBaseUIKit-iOS
- 001-UIKit-BaseUIKit-React
- 001-UIKit-BaseUIKit-ReactNative
- 001-UIKit-BaseUIKit-Flutter
001-UIKit-BaseVCKit-iOS——(基础的视图控制器 BaseViewController)
-
1、CQAppBaseViewController
2、CQAppBaseNavigationController
- CQAppTabBarController.podspec
CQAppTabBarController
- CQBridgeSTOLottie.podspec
CQBridgeSTOLottie:桥接Swift版本的lottie-ios到OC中使用
002-UIKit-PopupContainer——(弹窗的容器信息(为各种不同的弹窗添加顶部下拉线、顶部工具栏等))
002-UIKit-Overlay——(ActionSheet、Alert、Toast、HUD)
003-UIKit-Effect-iOS——(下拉刷新、上拉加载、空白页等)
> Refresh
>
> Empty
004-UIKit-Image——(图片库)
004-UIKit-TextInput/TextShow——(输入框库)
004-UIKit-Popup——(除Overlay外的其他弹窗)
005-UIKit-List——(列表)
005-UIKit-List-ImageAddDelete——(图片添加删除列表)
006-UIKit-DatePicker——(日期选择)
006-UIKit-ImagePicker——(图片选择)
-
CJImagePickerKit
1、系统”相册”和”相机”视图控制器的二次封装
2、自定义的”相册”视图控制器
CQImagePickerKit
1、”相册”和”相机”的权限判断:ImagePickerPermissionManager noPermissionBlock
(因为不同APP文案不同),所以权限判断才放在CQ中
2、系统”相册”和”相机”视图控制器的最终在具体APP中的封装
008-UIKit-Segmented——(Segmented)
009-UIKit-Guide——(引导页)
011-UIKit-Line——(各种线条 Line)
3、其他UIKit部分
CJCustomView——(所有自定义视图存放的项目)
CJAnimationKit——(动画库)
4、整合的UIKit工程
Collect App CommonUI
二、Feature 组件
1、Feature目录
| 序号 | 库 | 备注 | 状态 |
|---|---|---|---|
| 1 | 001-Feature-ThirdLogin | 第三方登录 | |
| 2 | 002-Feature-Share | 分享 | |
| 3 | |||
| 4 | 004-Feature-Report | 举报 | |
| 5 | Feature-ImageFilter-iOS | 拼图/滤镜 |
2、基础Feature各部分
001-Feature-ThirdLogin——(第三方登录)
1、Wechat 微信登录
002-Feature-Share-——(分享)
-
含弹出分享面板
CQShareUtil的CQShareKit库 和 分享面板视图库CQShareSheet
3、其他Feature部分
CJThirdPlatform——(依赖自第三平台上的封装)
CJBaiduMapKit
Feature-ImageFilter-iOS–拼图/滤镜
4、整合的Feature工程(暂无)
Collect App CommonFeature
*
六、TODO
1、原生与 H5 桥接
AppCommonJSCollect
App Common JS Collect