Latest 1.2.3
License MIT
Platforms ios 8.0

CocoaPods Compatible

What is it?

Collection of low level Swift extensions



pod install SwiftArmyKnife

Current Tools

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…

- 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

Latest podspec

    "name": "SwiftArmyKnife",
    "version": "1.2.3",
    "license": "MIT",
    "summary": "Useful extensions for every iOS class in Swift",
    "homepage": "",
    "authors": {
        "William Falcon": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.2.3"
    "platforms": {
        "ios": "8.0"
    "source_files": "Source/**/*.swift"

Pin It on Pinterest

Share This