Motif v0.3.0 Release Notes

Release Date: 2016-01-12 // over 8 years ago
  • ๐Ÿ”‹ Features

    • Migrates to NSErrors to communicate theme application failure in place of runtime exceptions. applyClassWithName:toObject: is now applyClassWithName:to:error: and applier blocks and value transformers are expected to populate a pass-by-reference NSError in the case of failure. (#67)
    • ๐Ÿš‘ Applying the same theme class twice in a row does not perform the work of applying twice. This is helpful in the context of reusable views where performance is critical. (#70)
    • โž• Adds support for Swift symbol output from the Motif CLI by passing the -s or --swift flag. (#56)
    • ๐Ÿ›  Fixes a logic error that could cause the Motif CLI to display an error when there wasn't one when generating theme files. (#57)
    • โž• Adds annotations for Obj-C lightweight generics. (#60)
    • โœ‚ Removes Example project's dependency on Masonry in place of UIStackView. (#61)

    ๐Ÿ›  Fixes

    • Mapped constant values are now cached to prevent unnecessary overhead of requesting them on each access. (#75)
    • Codebase cleanup (#62, #63, #64, #65, #68, #69, #71, #72, #73)