Skip to content

4.0.beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ZevEisenberg ZevEisenberg released this 29 Oct 05:39
· 641 commits to master since this release

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 input from @Imperiopolis, @mergesort, @noremac, @dostrander, and others.

The 4.0 API is completely new, and it is not backwards compatible with BonMot 3.x. This release is a beta, which means the new API is subject to change a little, but the main feature set is locked down. The goal of this release is to start using the new API in some real apps, including migrating from BonMot 3.x, and see if there are any major sticking points that we want to refine.

The best way to learn about the new API is to check out the ReadMe. If you find a problem or need a clarification, please file an issue or submit a pull request to the feature/swift-first branch (naming things is hard).

BonMot 4.0 is intended to be compatible with Swift 2.x and 3.0. If you run into problems with Swift compatibility, please file an issue!

We can't wait to hear what you think. Please don't hold back from sending feedback! Like the Swift 3.0 release, this is your chance to register your complaints, because once it's released, it will be harder to make breaking changes.

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)

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)