Collection of low level Swift extensions
##Installation Cocoapods:
pod install SwiftArmyKnife
##Current Tools
- Array
- GCD
- Integer
- NSArray
- NSAttributedString
- NSDate
- NSMutableAttributedString
- NSNumber
- NSString
- NSUrl
- Set
- String
- UIApplication
- UIButton
- UICollectionReusableHeaderView
- UICollectionView
- UICollectionViewCell
- UIColor
- UIImageView
- UIPanGestureRecognizer
- UIScrollView
- UITableViewCell
- UIView
- UIViewController
- UIWindow
//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:
- Email me (email at the bottom) so I can add your Tool to Tools being worked on
- Fork project
- Implement new Tool
- Implement Tool Tests
- Add documentation
- Submit a pull request
###Contact me Email me at will@hacstudios.com for questions