amayne / SwiftString

A comprehensive, lightweight string extension for Swift
MIT License
1.62k stars 141 forks source link

Carthage support + XCTests #16

Closed catalandres closed 1 year ago

catalandres commented 8 years ago

@amayne I used your code to learn how to create Carthage packages using Thoughtbot's tutorial on creating frameworks.

I have also turned your phenomenal list of examples into XCTests that verify the code does what it's intended to do. The two functions that return NSDate are not as well-covered as the rest. I have to dig into my notes on how the class works.

Finally, I have tweaked the setup for Travis according to Carthage's instructions.

I have not properly tested support of Cocoapods, but I have edited the paths in the .podspec file, so that should probably do it.

This would close #5, making the package more robust.