Closed garsdle closed 6 years ago
Hey @garsdle, glad you're liking it. Thanks for the feedback!
styles: Array
property, so automatically splitting styles: String
by ,
will be easy. I've thought about adding that already 👍 prepareForInterfaceBuilder
for @IBDesignable
views, but we wouldn't have a theme loaded at that point. What I can do is make a StyleableView
which is an @IBDesignable
UIView
subclass so you can set style
in the property inspector instead of runtime attributes.UIStackView.section main UIButton.primary
I welcome any more suggestions!
StyleableView
added in #4
Comma separated styles added in #6
Closing this for now. Feel free to open any more specific issues
First of all I love Stylist! You've really made something great here, especially with that live reload. I've got some feedback so far:
stylist_willMove
swizzled method. It works as long as you use a designable view).I'm curious what your thoughts are on these.