fulldecent / objective-c-module-template

An opinionated starting point for awesome, reusable Objective-C modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Objective-C Module Template

Use this template as a starting point for any Objective-C module that you want other people to include in their projects.

For Swift projects, see swift3-module-template.

STATUS: This recipe and template works for Swift, I need help to update this to work for Objective-C.

Swift 3 Module directory layout

Features

Your new Swift 3 module will immediately have working, compilable code, and all these features:

  • Ability to be used from Swift Package Manager, CocoaPods and Carthage
  • Clean folder structure
  • MIT license
  • Testing as a standard
  • Turnkey access to Travis CI
  • Semantic versioning and a CHANGELOG

How to use this

Clone or download a release and run the ./configure program. It will ask you some questions and generate a project.

You then add all the interesting features you want your module to have.

Using CocoaPods to manage dependencies for your example app

You distribute an example app with your new Swift module to show that it works. You may also decide to add UI tests to your example app and some people like to use testing frameworks for those UI tests. If you would like to use CocoaPods to manage the dependencies of your example app, please see the discussion at fulldecent/swift5-module-template#8.

Contributing

See the file Recipe.md for the complete steps (e.g. Open Xcode, make new project, click here, type that, ...) of how we made the template.

About

An opinionated starting point for awesome, reusable Objective-C modules

License:MIT License


Languages

Language:Swift 62.0%Language:Ruby 31.4%Language:Objective-C 6.5%