Stylish v0.75 Release Notes

Release Date: 2017-10-11 // almost 6 years ago

    ๐Ÿ’… Stylish styles would sometimes fail to render or would render as errors (red stripe pattern) on the storyboard, particularly when first opening a project in Xcode. This is now fixed!

    ๐Ÿ‘ Lowered target / minimum iOS version from 10.0 to 9.0 because Stylish has no dependencies on iOS 10 or above, and so why not support more projects with backward compatibility?

Previous changes from v0.7

  • Due to some early obstacles with IBDesignable and resolving types and resources across bundles, Stylish has until now been a single large Swift file that gets dropped into a client app. This, however, makes it difficult to manage as a dependency, and can also create problems for apps that want to use Stylish while also using a library that itself uses Stylish.

    ๐Ÿš€ Happily, this is now fixed and Stylish is a Swift framework that can be included as a subproject (using Apple's current recommendations) and linked into a client app target. This release includes a lot of reorganization to enable that, and also includes a variety of other improvements that have been needed or requested:

    ๐Ÿ›  Fixes Issue #7 by changing JSONStyleProperty from an enum with a fixed number of cases to a type that client apps can register new instances of, to allow the parsing of different kinds of properties from JSON stylesheets

    ๐Ÿ›  Fixes Issue #9 by creating static methods on Stylish that allows client apps to register their own custom dynamic property sets and shared style classes without needing to subclass existing Stylesheets (like JSONStylesheet) to override them.

    โšก๏ธ Updated to the StylishExample project to demonstrate usage and linking of Stylish as a framework

    โšก๏ธ Updated to recommended project settings for Xcode 9

    โž• Added additional comments, cleanup, small fixes throughout