BonMot 4.0 is a complete rewrite in Swift. It was primarily written by @KingOfBrian (who swears he only set out to write a blog post on Dynamic Type) and @ZevEisenberg, with contributions from @Imperiopolis, @mergesort, @noremac, @dostrander, and others.
The 4.0 API is completely new, and it is not backwards compatible with BonMot 3. The best way to learn about the new API is to check out the ReadMe, and if you are migrating from BonMot 3, there is a migration guide BonMot 4.0 is compatible with Swift 2.2, 2.3, and 3.0.
New Features
- Full Swift rewrite.
- Support for all Apple platforms: iOS, macOS, watchOS, and tvOS.
- Support for Dynamic Type. (Readme)
- Storyboard and XIB integration: apply global named styles via
IBInspectable
properties on common UI elements. (Readme) - Support for advanced OpenType font features including vertical position, small caps, ligatures, and contextual alternates. If you need an OpenType feature that is not supported, please file an issue.