With this library styles and colors can be defined and used after dynamically in code. Support exported contet from Zeplin
To run the example project, clone the repo, and run pod install
from the Example directory first.
Colors.json and Styles.js. Can be exported using zeplin ByvStyles extension
self.view.bgNamedColor("yellowText")
label.styledText("<titleBoldWhite>Añade tu vehículo</titleBoldWhite>")
label2.styledText("<subtitleMessages>Hay una reparación asociada a este mantenimiento pendiente de valorar.</subtitleMessages> <subtitleMessagesBold>Obtendrás un 2% de descuento</subtitleMessagesBold> <subtitleMessages>de la factura en € bigs.</subtitleMessages>")
ByvStyles is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ByvStyles'
To be able to set styles from Interface Builder directly you can use ByvStylesIB library
adrianByv, [email protected]
ByvStyles is available under the MIT license. See the LICENSE file for more info.