Latest 0.1.2
Homepage https://github.com/soloy/BriefCase
License MIT
Platforms ios 9.0, osx 10.10
Authors

CI Status
Version
License
Platform

This is a small lib for converting from one naming convention to another

Usage

Supported case’s:

  • CobolCase : open-briefcase
  • UpperCobolCase : Open-Briefcase
  • CamelCase : openBriefcase
  • PascalCase : OpenBriefcase
  • SnakeCase : open_briefcase
  • MacroCase : 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

Installation

BriefCase is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "BriefCase"

Author

Fredrik Soløy, https://github.com/soloy

License

BriefCase is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "BriefCase",
    "version": "0.1.2",
    "summary": "Convert between letter cases: eg. camelCase -> snake_case",
    "homepage": "https://github.com/soloy/BriefCase",
    "license": "MIT",
    "authors": {
        "Fredrik Solu00f8y": "[email protected]"
    },
    "source": {
        "git": "https://github.com/soloy/BriefCase.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "9.0",
        "osx": "10.10"
    },
    "source_files": "Source/*"
}

Pin It on Pinterest

Share This