github Rightpoint/BonMot 4.0.0

latest releases: 6.1.3, 6.1.2, 6.1.1...
7 years ago

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.

Improvements

  • More full-featured XML parsing, including nested tags and special characters. (Readme)
  • More powerful style composition, allowing true inheritance of properties from one style to another. (Readme)
  • Improved debugging helpers. (Readme)

Don't miss a new BonMot release

NewReleases is sending notifications on new releases.