Latest 0.1.0
Homepage https://github.com/socialtables/NSString-STUnderCase
License MIT
Platforms ios 6.0, requires ARC
Authors ,

Version
Platform

Usage

To run the example project; clone the repo, and run pod install from the Example directory first.

Requirements

None

Installation

NSString+STUnderCase is available through CocoaPods, to install
it simply add the following line to your Podfile:

pod "NSString+STUnderCase"

Author

Social Tables, [email protected]

License

NSString+STUnderCase is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "NSString+STUnderCase",
    "version": "0.1.0",
    "summary": "Convert an `NSString` from underscore_case to camelCase, and vice versa.",
    "description": "                       ## whatnn                       A simple category on `NSString` that enables easy conversion from `camelCase`n                       (like in Objective-C attributes) to `underscore_case` (like in JSON API callsn                       or database fields) and vice versa.nn                       Note that this does simple byte-string manipulation and will not do the rightn                       thing with non-ASCII strings. Since it's mostly working with keys / attributen                       names, this isn't that much of an issue since they're usually simple ASCII.nn                       ## whynn                       At Social Tables, our app does a fair bit of talking to an API and marshalingn                       data back and forth, with some custom logic involved. It became very usefuln                       for marshaling and introspection to be able to turn an `attribute_name` inton                       an `attributeName`.nn                       ## hownn                       http://walkingsmarts.com/camelcasing-and-underscoring-strings-in-objectivec/n                       provided the basis for our code.n",
    "homepage": "https://github.com/socialtables/NSString-STUnderCase",
    "license": "MIT",
    "authors": {
        "Rami Chowdhury": "[email protected]",
        "Social Tables": "[email protected]"
    },
    "source": {
        "git": "https://github.com/socialtables/NSString-STUnderCase.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/socialtables",
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source_files": "Classes/**/*.{h,m}",
    "ios": {
        "exclude_files": "Classes/osx"
    },
    "osx": {
        "exclude_files": "Classes/ios"
    },
    "public_header_files": "Classes/**/*.h"
}

Pin It on Pinterest

Share This