TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Apr 2016 |
SPMSupports SPM | ✗ |
Maintained by Soloy.
This is a small lib for converting from one naming convention to another
Supported case’s:
open-briefcase
Open-Briefcase
openBriefcase
OpenBriefcase
open_briefcase
OPEN_BRIEFCASE
let b = BriefCase()
b.convert(from: .SnakeCase, to: .PascalCase, source: "two_words") // Converted to TwoWords
b.convert(from: .CamelCase, to: .MacroCase, source: "twoWords") // Converted to TWO_WORDS
BriefCase is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "BriefCase"
Fredrik Soløy, https://github.com/soloy
BriefCase is available under the MIT license. See the LICENSE file for more info.