jvisenti / Swiftilities

A collection of useful Swift utilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swiftilities

Swift 3.0 CircleCI Version License Platform Carthage compatible

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Adding A New Subspec

  1. Create a new directory within the Classes folder (or Assets, if required)

  2. Add the new files to the directory created in step 1

  3. Add a subspec to the Swiftilities.podspec following this pattern:

    # <Your Subspec Name>
    
    s.subspec "<Your Subspec Name>" do |ss|
    	ss.source_files = "Pod/Classes/<Your Subspec Name>/*.swift"
    	ss.frameworks   = ["<Any Required Modules>"]
    end
  4. Append an ss.dependency to s.subspec within the podspec file with the following format:

    ss.dependency 'Swiftilities/<Your Subspec Name>'
  5. Navigate to the example project directory and run bundle exec pod update

Requirements

Installation

Swiftilities is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Swiftilities"

Author

Nicholas Bonatsakis, nick.bonatsakis@raizlabs.com

Code of Conduct

Please read our contribution Code of Conduct.

License

Swiftilities is available under the MIT license. See the LICENSE file for more info.

About

A collection of useful Swift utilities.

License:Other


Languages

Language:Swift 93.7%Language:Ruby 6.3%