SwiftArmyKnife 1.2.3

SwiftArmyKnife 1.2.3

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2016
SPMSupports SPM

Maintained by Will falcon.



  • By
  • William Falcon

SwiftArmyKnife

What is it?

Collection of low level Swift extensions

Installation

Cocoapods:

pod install SwiftArmyKnife

Current Tools

//String Examples

var word = "heart"
println(word[0]) //h
println(word[-1]) //t

var index = word["art"]
println(index) //2

println(word._length) //5
println(word._reverse()) //treah

var word = "he3arts in he2arth"
var matches = word._matchesForRegex("he[0-9]{1}")
println(matches) //[he3, he2]
//much more...

Notes

  • New tools are added every few weeks while we continue to build them as we progress with our client apps.

Upcoming Tools

  • Only additions to existing tools

Tools in Development

  • Most tools will be receiving new functionality throughout the next few months.

Contributors wanted!

Pick any of the upcoming tools to implement.

To contribute: 1. Email me (email at the bottom) so I can add your Tool to Tools being worked on 2. Fork project 3. Implement new Tool 4. Implement Tool Tests 5. Add documentation 6. Submit a pull request

Contact me

Email me at [email protected] for questions