ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

PodfileKit summarizes the common iOS (Swift) third-party frameworks on GitHub, and classifies the fr

2021-03-02 17:35:58  阅读:418  来源: 互联网

标签:third framework ## frameworks version party pod SwifterSwift


PodfileKit

========================
Easy Podfile !

PodfileKit summarizes the common iOS (Swift) third-party frameworks on GitHub, and classifies the frameworks, which provides convenience for users to manage the third-party frameworks.

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

Set up Platform

platform:ios '13.0'. The '13.0'here is the lowest iOS system version that the app can support. You can replace it with '11.0', '12.3' , '14.0'and so on.

SetUpPlatform.png

Designated Third Party framework

Pod 'ARVideoKit' specifies a framework named 'ARVideoKit' to download. You can replace 'ARVideoKit' with 'name of the framework you want to install'. Specify the corresponding URL by : git = >, specify the corresponding branch by : Branch = >, specify the submitted version by commit:, specify the marked submitted version by : tag = >, and specify the submitted version by : inhibit'_ Warnings = > true to avoid warnings from a single framework. Of course, the relevant specifications after pod' ARVideoKit can be omitted. In this way, you will download the default version of the framework, which is generally the latest version suitable for your project.
Example.png

Framework Classification

The frameworks are classified, you can also classify according to your own preferences.
FrameworkClassification.png

When there is a framework you need to use in the classification, you can delete "#".
FrameworkSelection.png

Subframework

For some frameworks, if only some of the functions in the framework are used, it is not necessary to download the whole framework, only its sub frameworks.

Subframework.png

Set up groups

You can use

def groupName 
 pod ...
 ...
end

to set up groups, for example, some frameworks are used for debugging, some frameworks are used for app publishing, and some frameworks are special. After target, you need to replace ProjectName with the name of your project.
SetUpGroups.png

Use

  • Clone the repository to get the PodFile file in the repository
  • Directly download the PodFile in the repository and put it under the directory of the project folder
  • Copy the contents of the PodFile in the repository to your own generated PodFile
  • Use the terminal to open the project directory and run the following command
$ pod install

Contributing

  • 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.

Content

source 'https://github.com/CocoaPods/Specs.git'
# Minimum supported iOS system version
platform:ios,'13.0'
use_frameworks!
# Inhibit the warning of the third party library
inhibit_all_warnings!

def thirdParty
  # eg. # AR Video
  # Git specifies the web address, branch specifies the branch, commit specifies the submitted version, tag specifies the marked submitted version and inhibit_ Warnings to avoid warnings from a single framework
  # pod 'ARVideoKit', :git => 'https://github.com/AFathi/ARVideoKit.git', :branch => 'swift_5', commit: "b7e1facdedd8fe16d04ef5f47c4697e89bad9f27",'~> 5.0', :tag => '1.6.0', :inhibit_warnings => true
  
  # Network Request
  # pod 'Alamofire'
  # pod 'Moya'
  # pod 'AlamofireObjectMapper'
  
  # JSON Parsing
  # pod 'SwiftyJSON'
  # pod 'HandyJSON'
  # pod 'Argo'
  # pod 'Sync'
  
  # Detect Network Status
  # pod 'ReachabilitySwift'
  
  # Data Stream
  # pod 'RxSwift'
  # pod 'RxCocoa'
  # pod 'ObjectMapper'
  # pod 'ReSwift'
  # pod 'ReactiveSwift'
  # pod 'ReactorKit'
  
  # Internet Pictures
  # pod 'Kingfisher'
  
  # Layout
  # pod 'SnapKit'
  # pod 'Cartography'
  # pod 'Neon'
  # pod 'AnimatedCollectionViewLayout'
  # pod "BouncyLayout"
  # pod 'TangramKit'
  # pod 'TinyConstraints'
  # pod 'LayoutKit'
  # pod 'SteviaLayout'
  
  # Animation
  # pod 'Spring', :git => 'https://github.com/MengTo/Spring.git'
  # pod 'lottie-ios'
  # pod 'ViewAnimator'
  # pod 'Advance'
  # pod 'Pastel'
  # pod 'YapAnimator'
  
  # Transition
  # pod 'Hero'
  # pod 'Transition'
  # pod 'Jelly'
  
  # Code Rules
  # pod 'SwiftLint'
  
  # UserDefault
  # pod 'SwiftyUserDefaults'
  
  # Data Base
  # pod 'SQLite.swift'
  # pod 'GRDB.swift'
  # pod 'FMDB'
  # pod 'RealmSwift'
  # pod 'YapDatabase'
  # pod 'CoreStore'
  
  # Extension
  # 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 (picture, color, localized string)
  # pod 'R.swift'
  # pod 'SwiftGen'
  
  # Monitor
  # pod 'Crashlytics'
  # pod 'Fabric'
  # pod 'Bugly'
 
  # Bind
  # pod 'bond'
  
  # Alert
  # pod 'JGProgressHUD'
  # pod 'SwiftMessages'
  # pod 'SwiftEntryKit'
  # pod 'SPPermissions'
  # pod 'NotificationBanner'
  # pod 'Whisper'
  # pod 'PopupDialog'
  # pod 'Toast-Swift'
  
  # Side Menu
  # pod 'SideMenu'
  # pod 'YALSideMenu'
  
  # Drop-down Menu
  # pod 'BTNavigationDropdownMenu'
  
  # Pagination Menu
  # pod 'Parchment'
  # pod 'Tabman'
  
  # UI Controls
  # 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'
  
  # Scan
  # pod 'BarcodeScanner'
  
  # QR Code
  # pod 'EFQRCode'
  
  # Scan Document
  # pod 'WeScan'
  
  # Color Picker
  # pod 'ColorSlider'
  
  # Prompt for Software Updates
  # pod 'Siren'
  
  # Machine learning Vision
  # pod 'OpenCV'
  
  # Feedback
  # pod 'PinpointKit'
  
  # Log
  # pod 'SwiftyBeaver'
  
  # Encryption
  # pod 'CryptoSwift'
  # pod 'RNCryptor'
  
  # Internal Purchase
  # pod 'SwiftyStoreKit'
  
  # Calendar
  # pod 'JTAppleCalendar'
  # pod 'CVCalendar'
  
  # Image Processing
  # pod 'Nuke'
  # pod 'Macaw'
  
  # Image Picker
  # pod 'ImagePicker'
  # pod 'ZLPhotoBrowser'
  # pod 'YPImagePicker'
  # pod 'SKPhotoBrowser'
  
  # Test
  # pod 'Quick'
  # pod 'Nimble'
  
  # Storyboard and xib
  # pod 'IBAnimatable'
  
  # Date
  # pod 'SwiftDate'
  
  # Cache
  # pod 'HanekeSwift'
  # pod 'Disk'
  # pod 'Cache'
  
  # Mathematics
  # pod 'Surge'
  
  # Multithreading
  # pod "AsyncSwift"
  # pod 'Hydra'
  # pod 'BrightFutures'
  
  # Dependency Injection
  # pod 'Swinject'
  # pod 'Typhoon'
  
  # Chat
  # pod 'Chatto'
  # pod 'ChattoAdditions'
  
  # Message
  # pod 'Messenger'
  # pod 'MessageKit'
  
  # Phone Number
  # pod 'PhoneNumberKit'
  
  # Functional Programming
  # pod 'Swiftz'
  
  # Device
  # pod 'DeviceKit'
  
  # Rich Text
  # pod 'BonMot'
  # pod 'SwiftRichString'
  
  # Face
  # pod 'FaceAware'
  
  # Geographic Location
  # pod 'SwiftLocation'
  
  # HTML、XML
  # pod 'SwiftSoup'
  # pod 'Ono'
  # pod 'Kanna'
  
  # Convenient (uitableviewcells, uicollectionviewcells, convenient reuse, etc)
  # pod 'Reusable'
  
  # Localization
  # pod 'Localize-Swift'
  
  # Gif Support
  # pod 'Gifu'
  
  # Color
  # pod 'DynamicColor'
  
  # Detecting memory leaks, etc
  # pod 'LifetimeTracker'
  
  # Chart
  # pod 'SwiftCharts'
  
  # File Processing
  # pod 'FileKit'
  # pod 'Files'
  
  # Theme (Adapt to Dark Mode)
  # pod 'SwiftTheme'
  
  # The status bar displays information such as FPS, CPU and memory usage, device model, app and iOS versions
  # pod 'GDPerformanceView-Swift'
  
  # Camera and Microphone
  # pod 'HaishinKit.swift'
  
  # Download
  # pod 'Tiercel'
  
  # Bluetooth
  # pod 'BluetoothKit'
  
  # Compress
  # pod 'Zip'
  
  # Keychain
  # pod 'KeychainSwift'
  
  # Social Sharing
  # pod 'UMengUshare'
  ## pod 'UMengUShare/UI'
  ## pod 'UMengUShare/Social/ReducedWeChat'
  ## pod 'UMengUShare/Social/ReducedQQ'
end

def project
end

def debug
  # App Interface Debugging
  # pod 'Reveal-SDK'
  # pod 'CocoaDebug'
  
  # Network Debugging
  # pod 'Bagel'
  # pod 'ResponseDetective'
  
  # Log
  # pod 'XCGLogger'
end
  # Replace your project name here
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|
      # Minimum supported iOS system version
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
    end
  end
end

标签:third,framework,##,frameworks,version,party,pod,SwifterSwift
来源: https://www.cnblogs.com/adong666666/p/14470135.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有