Open Source: IODProfanityFilter

For a recent version of talk to myself we decided to add a basic profanity filter, in order to help keep the app kid-friendly and reduce the number of reported messages. We searched for an iOS SDK library to help accomplish this task, but there were none to be found. So we made our own, and are sharing it!

IODProfanityFilter is available under the MIT open source license. It’s pretty simple to use in your iOS and Mac OS X apps, and includes swear word lists in 10 languages (courtesy of Shutterstock).

If any developers out there make any improvements, feel free to fork and send a pull request.

This is the first of several bits and pieces we’d like to share. The iOS development community has a great tradition of sharing & open source and we’re happy to contribute!