a
Does PaintCode generate ready-made, interactive UI controls?

Does PaintCode generate ready-made, interactive UI controls?

PaintCode only generates code for drawing of the user interfaces - you have to provide the interaction code yourself. For example, you can draw 2 canvases depicting the same button, one in normal state and one in pushed state. Depending on the button state, you'll pick the right generated method to call from your code at runtime. Another (and better) possibility is to make your drawing parametric, which means creating only a single canvas with a single button, whose design is controlled by a boolean variable. You can easily create variables like this directly in PaintCode.

Please, check out the example project to see how to use states with StyleKit in EXAnimationViewController subclass and animateButton: (Swift: animateButton(sender:)) method.

Please, check out the example project to see how to use states with StyleKit in the EXAnimationViewController subclass and the animateButton: (Swift: animateButton(sender:)) method.