blob: 7f04c2c5ea6e5ac78959d9b886b482921c6b4604 [file] [log] [blame]
{
"name": "NSString+STUnderCase",
"version": "0.1.0",
"summary": "Convert an `NSString` from underscore_case to camelCase, and vice versa.",
"description": " ## what\n\n A simple category on `NSString` that enables easy conversion from `camelCase`\n (like in Objective-C attributes) to `underscore_case` (like in JSON API calls\n or database fields) and vice versa.\n\n Note that this does simple byte-string manipulation and will not do the right\n thing with non-ASCII strings. Since it's mostly working with keys / attribute\n names, this isn't that much of an issue since they're usually simple ASCII.\n\n ## why\n\n At Social Tables, our app does a fair bit of talking to an API and marshaling\n data back and forth, with some custom logic involved. It became very useful\n for marshaling and introspection to be able to turn an `attribute_name` into\n an `attributeName`.\n\n ## how\n\n 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": "rami.chowdhury@gmail.com",
"Social Tables": "product@socialtables.com"
},
"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"
}