An Objective-C implementation of ActiveSupport's Inflector
Objective-C
Pull request Compare This branch is 7 commits ahead, 2 commits behind tomafro:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ActiveSupportInflector.h
ActiveSupportInflector.m
ActiveSupportInflector.plist
ActiveSupportInflectorTest.m
ActiveSupportInflectorTest.plist
MIT-LICENSE
NSString+ActiveSupportInflector.h
NSString+ActiveSupportInflector.m
Readme.markdown

Readme.markdown

ActiveSupport Inflector

Easily pluralize and singularize strings in Objective-C.

Simply import NSString+ActiveSupportInflector.h. This adds the following methods to NSString:

- (NSString *)pluralizeString;
- (NSString *)singularizeString;

Easy as that.