Creating a good custom emoticon chat experience on iOS

I’m trying to come up with possible implementations for what is basically an expanding UITextView with the capability of typing inline images.

There are literally dozens of open source projects I’ve seen that handle creation of labels with custom emoticons, UIWebViews that draw your images inline with text and so on, but none that don’t run over the native UITextView behavior:

  • how to make function to return after the AFHTTPRequestOperation has done
  • How to hide API keys in GitHub for iOS (SWIFT) projects?
  • Sockets with Swift
  • Geofencing in iOS When App is closed / Killed
  • Animate nav bar title text change
  • Do I still need an Entitlements.plist file for an ad-hoc build?
    • Autocorrect
    • Spelling
    • Magnifying glass
    • Selection tooltip and capability
    • Double space for period

    The only app I’ve seen on the app store that gives a good, robust experience with typing custom emoticons is Viber.

    So the question is – how did they do this? Any ideas, notes or references would be greatly appreciated.

    Thanks!

    enter image description here
    enter image description here
    enter image description here

    Solutions Collect From Internet About “Creating a good custom emoticon chat experience on iOS”

    The only thing that comes to mind is this, but I’ve never touched it. You might make something useful if you can make certain code points render the way you want, like the built-in emoji.