Super customizable Segmented Control for iOS. Following examples can give you idea how it can be customized. All this customization can be written anywhere before rendering of the control. Most desirable place is didSet block.
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.