ChatHeads is a new feature in Facebook.app 6.0 where little bubbles appear in the iOS app when somebody sends you a message. It's a nice little feature and uses very cool animations.
This project is an attempt to re-implement this feature and to figure out how the animations are done. I don't support this project in a way to completely implement all features of ChatHeads. It should only illustrate how parts of ChatHeads are done.
Check out this lovingly crafted Apple Music-style popup library. SPAlert is written in clean, beautiful, modern Swift code by Ivan Vorobei, a prolific and talented open source developer.
This open source project contains a ton of preset styles, including "done," "heart," "message," and more. If the presets don't fit your needs, you can customize the popups with custom images and duration. Includes support for light and dark modes, and installable via Swift Package Manager and CocoaPods.