PodfileKit将github上常见的iOS(Swift)第三方框架进行了汇总,并且将框架进行了分类,为用户管理第三方框架提供了方便

PodfileKit

========================

Easy Podfile !

PodfileKit将github上常见的iOS(Swift)第三方框架进行了汇总,并且将框架进行了分类,为用户管理第三方框架提供了方便。

github网址:https://github.com/adong666666/PodfileKit

  • 设置平台
  • 指定第三方框架
  • 框架分类
  • 子框架
  • 建立分组
  • 使用
  • 贡献
  • License

    设置平台

    platform:ios,'13.0',这里的‘13.0’是App所能支持的最低iOS系统版本,你可以替换为‘11.0’、'12.3'、‘14.0’等版本。
    设置平台

    指定第三方框架

    pod 'ARVideoKit'指定名为‘ARVideoKit’的框架进行下载,你可以将‘ARVideoKit’替换为‘你想要安装的框架的名称’。通过:git =>来指定相应网址,通过:branch =>来指定相应分支,通过commit:来指定某次提交的版本,通过:tag =>来指定某次被标记的提交版本,通过:inhibit_warnings => true来规避单个框架的警告。当然,pod 'ARVideoKit'之后的相关指定都可以被省略,这样你将会下载该框架的默认版本,一般为适合你工程的最新版本。
    示例

    框架分类

    对框架进行了分类,你也可以根据自己的喜好进行分类。
    框架分类
    当分类中有你需要使用的框架时,便将”#“删除即可。
    框架选择

    子框架

    对于某些框架,如果只用到框架中部分功能,则不必下载整个框架,只需下载其子框架。
    子框架

    建立分组

    你可以使用
    1
    2
    3
    4
    def groupName 
    pod ...
    ...
    end
    来建立分组,比如某些框架是用于调试的,某些框架是用于App发布的,某些框架比较特殊等。在target之后,你需要将ProjectName替换为你项目的名称。
    建立分组

    使用

  • 克隆本仓库,从而拿到仓库中的PodFile文件
  • 直接下载本仓库中的PodFile,置于工程文件夹的目录之下
  • 拷贝本仓库中PodFile的内容到你自己生成的PodFile文件中
  • 使用终端打开工程所在目录,运行如下命令
    1
    $ pod install

    贡献

  • Fork it !
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

    License

    PodfileKit is released under the MIT license. See LICENSE for details.

    内容

    这里因为在博客就直接给内容哈:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    source 'https://github.com/CocoaPods/Specs.git'
    # 所支持的iOS系统版本
    platform:ios,'13.0'
    use_frameworks!
    # 规避第三方库的警告
    inhibit_all_warnings!

    def thirdParty
    # eg. # AR录像
    # git指定网址, branch指定分支, commit指定某次提交的版本, tag指定某次被标记的提交版本,inhibit_warnings规避单个框架的警告
    # pod 'ARVideoKit'#, :git => 'https://github.com/AFathi/ARVideoKit.git', :branch => 'swift_5', commit: "b7e1facdedd8fe16d04ef5f47c4697e89bad9f27",'~> 5.0', :tag => '1.6.0', :inhibit_warnings => true
    # 网络请求
    # pod 'Alamofire'
    # pod 'Moya'
    # pod 'AlamofireObjectMapper'
    # JSON解析
    # pod 'SwiftyJSON'
    # pod 'HandyJSON'
    # pod 'Argo'
    # pod 'Sync'
    # 检测网络状态
    # pod 'ReachabilitySwift'
    # 数据流
    # pod 'RxSwift'
    # pod 'RxCocoa'
    # pod 'ObjectMapper'
    # pod 'ReSwift'
    # pod 'ReactiveSwift'
    # pod 'ReactorKit'
    # 网络图片
    # pod 'Kingfisher'
    # 布局
    # pod 'SnapKit'
    # pod 'Cartography'
    # pod 'Neon'
    # pod 'AnimatedCollectionViewLayout'
    # pod "BouncyLayout"
    # pod 'TangramKit'
    # pod 'TinyConstraints'
    # pod 'LayoutKit'
    # pod 'SteviaLayout'
    # 动画
    # pod 'Spring', :git => 'https://github.com/MengTo/Spring.git'
    # pod 'lottie-ios'
    # pod 'ViewAnimator'
    # pod 'Advance'
    # pod 'Pastel'
    # pod 'YapAnimator'
    # 转场
    # pod 'Hero'
    # pod 'Transition'
    # pod 'Jelly'
    # 代码规范
    # pod 'SwiftLint'
    # UserDefault
    # pod 'SwiftyUserDefaults'
    # 数据库
    # pod 'SQLite.swift'
    # pod 'GRDB.swift'
    # pod 'FMDB'
    # pod 'RealmSwift'
    # pod 'YapDatabase'
    # pod 'CoreStore'
    # 扩展
    # pod 'SwifterSwift'
    ## pod 'SwifterSwift/SwiftStdlib'
    ## pod 'SwifterSwift/Foundation'
    ## pod 'SwifterSwift/UIKit'
    ## pod 'SwifterSwift/AppKit'
    ## pod 'SwifterSwift/MapKit'
    ## pod 'SwifterSwift/CoreGraphics'
    ## pod 'SwifterSwift/CoreLocation'
    ## pod 'SwifterSwift/SpriteKit'
    ## pod 'SwifterSwift/SceneKit'
    ## pod 'SwifterSwift/StoreKit'
    ## pod 'SwifterSwift/Dispatch'
    # pod 'Then'
    ### Use 'SwiftUIX'
    # pod 'EZSwiftExtensions'
    # Resources(图片、颜色、本地化字符串)
    # pod 'R.swift'
    # pod 'SwiftGen'
    # 监控
    # pod 'Crashlytics'
    # pod 'Fabric'
    # pod 'Bugly'
    # 绑定
    # pod 'bond'
    # 提示框
    # pod 'JGProgressHUD'
    # pod 'SwiftMessages'
    # pod 'SwiftEntryKit'
    # pod 'SPPermissions'
    # pod 'NotificationBanner'
    # pod 'Whisper'
    # pod 'PopupDialog'
    # pod 'Toast-Swift'
    # 侧边栏
    # pod 'SideMenu'
    # pod 'YALSideMenu'
    # 下拉菜单
    # pod 'BTNavigationDropdownMenu'
    # 分页菜单
    # pod 'Parchment'
    # pod 'Tabman'
    # UI控件
    # pod 'LYEmptyView'
    # pod 'CollectionKit'
    # pod 'DifferenceKit'
    # pod 'ACBadge'
    # pod 'LTMorphingLabel'
    # pod 'SkeletonView'
    # pod 'NVActivityIndicatorView'
    # pod 'FSPagerView'
    # pod 'TextFieldEffects'
    # pod 'SwipeCellKit'
    # pod 'ScrollableGraphView'
    # pod 'SCLAlertView'
    # pod 'SkyFloatingLabelTextField'
    # pod 'ActiveLabel'
    # pod 'MarqueeLabel'
    # pod 'DOFavoriteButton'
    # pod 'Persei' # top menu for UITableView / UICollectionView / UIScrollView
    # pod 'XLActionController'
    # pod 'LNPopupController'
    # pod 'CHIPageControl'
    # pod 'EasyTipView'
    # pod 'CardParts'
    # pod 'PMAlertController'
    # pod 'Segmentio'
    # pod 'HGCircularSlider'
    # pod 'ZLSwipeableViewSwift'
    # pod 'ALCameraViewController'
    # pod 'SwiftSpinner'
    # pod 'Cosmos'
    # 扫描
    # pod 'BarcodeScanner'
    # 二维码
    # pod 'EFQRCode'
    # 扫描文件
    # pod 'WeScan'
    # 取色器
    # pod 'ColorSlider'
    # 提示软件更新
    # pod 'Siren'
    # 机器学习视觉
    # pod 'OpenCV'
    # 反馈
    # pod 'PinpointKit'
    # 日志
    # pod 'SwiftyBeaver'
    # 加密
    # pod 'CryptoSwift'
    # pod 'RNCryptor'
    # 内购
    # pod 'SwiftyStoreKit'
    # 日历
    # pod 'JTAppleCalendar'
    # pod 'CVCalendar'
    # 图像处理
    # pod 'Nuke'
    # pod 'Macaw'
    # 图片拾取
    # pod 'ImagePicker'
    # pod 'ZLPhotoBrowser'
    # pod 'YPImagePicker'
    # pod 'SKPhotoBrowser'
    # 测试
    # pod 'Quick'
    # pod 'Nimble'
    # Storyboard和xib
    # pod 'IBAnimatable'
    # 时间
    # pod 'SwiftDate'
    # 缓存
    # pod 'HanekeSwift'
    # pod 'Disk'
    # pod 'Cache'
    # 数学
    # pod 'Surge'
    # 多线程
    # pod "AsyncSwift"
    # pod 'Hydra'
    # pod 'BrightFutures'
    # 依赖注入
    # pod 'Swinject'
    # pod 'Typhoon'
    # 聊天
    # pod 'Chatto'
    # pod 'ChattoAdditions'
    # 信息
    # pod 'Messenger'
    # pod 'MessageKit'
    # 手机号码
    # pod 'PhoneNumberKit'
    # 函数式编程
    # pod 'Swiftz'
    # 设备
    # pod 'DeviceKit'
    # 富文本
    # pod 'BonMot'
    # pod 'SwiftRichString'
    # 人脸
    # pod 'FaceAware'
    # 地理位置
    # pod 'SwiftLocation'
    # HTML、XML
    # pod 'SwiftSoup'
    # pod 'Ono'
    # pod 'Kanna'
    # 便利 UITableViewCells, UICollectionViewCells 便利复用等
    # pod 'Reusable'
    # 本地化
    # pod 'Localize-Swift'
    # Gif支持
    # pod 'Gifu'
    # 颜色
    # pod 'DynamicColor'
    # 检测内存泄漏等
    # pod 'LifetimeTracker'
    # 表格
    # pod 'SwiftCharts'
    # 文件处理
    # pod 'FileKit'
    # pod 'Files'
    # 主题 适配暗黑模式
    # pod 'SwiftTheme'
    # 状态栏显示FPS, CPU and memory usage, device model, app and iOS versions 等信息
    # pod 'GDPerformanceView-Swift'
    # 相机 麦克风
    # pod 'HaishinKit.swift'
    # 下载
    # pod 'Tiercel'
    # 蓝牙
    # pod 'BluetoothKit'
    # 压缩
    # pod 'Zip'
    # 钥匙串
    # pod 'KeychainSwift'
    # 社会化分享
    # pod 'UMengUshare'
    ## pod 'UMengUShare/UI'
    ## pod 'UMengUShare/Social/ReducedWeChat'
    ## pod 'UMengUShare/Social/ReducedQQ'
    end

    def project
    end

    def debug
    # App界面调试
    # pod 'Reveal-SDK'
    # pod 'CocoaDebug'
    # 网络调试
    # pod 'Bagel'
    # pod 'ResponseDetective'
    # 日志
    # pod 'XCGLogger'
    end
    # 在这里替换你的项目名称
    target "ProjectName" do
    thirdParty
    project
    debug
    end

    post_install do |installer_representation|
    installer_representation.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
    # 所支持的iOS系统版本
    config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
    end
    end
    end