开发者

Is there an Objective-C library that does the same thing as Ruby-English Gem does?

http://english.rubyforge.org/

require 'english/inflect'

    "boy".plural      #=&g开发者_运维百科t; "boys"
    "ox".plural       #=> "oxen"

    "boys".singular   #=> "boy"
    "oxen".singular   #=> "ox"


There isn't any provided by Apple and I haven't heard of any third-party libraries that can do that in Objective-C.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜