a455455b / ytx-pod-template

YTX CocoaPods Template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pod-template

##Useage pod lib create <Pod库名称> --template-url="git@github.com:mdsb100/ytx-pod-template"

An opinionated template for creating a Pod with the following features:

  • Git as the source control management system
  • Clean folder structure
  • Project generation
  • MIT license
  • Testing as a standard
  • Turnkey access to Travis CI
  • Also supports Carthage

Getting started

There are two reasons for wanting to work on this template, making your own or improving the one for everyone's. In both cases you will want to work with the ruby classes inside the setup folder, and the example base template that it works on from inside template/ios/.

Best practices

The command pod lib create aims to be ran along with this guide: http://guides.cocoapods.org/making/using-pod-lib-create.html so any changes of flow should be updated there also.

It is open to communal input, but adding new features, or new ideas are probably better off being discussed in an issue first. In general we try to think if an average Xcode user is going to use this feature or not, if it's unlikely is it a very strongly encouraged best practice ( ala testing / CI. ) If it's something useful for saving a few minutes every deploy, or isn't easily documented in the guide it is likely to be denied in order to keep this project as simple as possible.

Requirements:

  • CocoaPods 1.0.0+

About

YTX CocoaPods Template

License:Other


Languages

Language:Ruby 55.2%Language:Shell 18.5%Language:Objective-C 14.3%Language:Swift 12.1%