Word detection without separating spaces

Sandor Szatmari

You know how apple apps can turn ‘itwas’ into ‘it was’ as your typing in a text field? Is there an API for this? I’d like to be able to take something like AREALLYLONGSTRING and turn it into ‘a really long string’ or ‘a_really_long_string’ or basically insert whatever separator I want.

Something like -(NSString*)componentsSeparatedByDictionaryWord:(NSString*)string;

Does my magical imaginary API exist? I’d imagine it’s part of autocorrection functionality…

Trying hard not to reinvent the wheel

Join cocoa@apple-dev.groups.io to automatically receive all group messages.