Is PaintCode an animating tool?
PaintCode is not full animation tool, but it can be very helpful for designing animations.
Thanks to its variables and expressions, you can set any kind of dependency of any of shape's property on a returned value. Then you can drive this value from your own code (outside methods PaintCode exports via StyleKit
). This approach is very flexible and easy to understand.
Please, check our example project.
Animation of "LiveButton" canvas is implemented in EXAnimationViewController
using custom animatable properties in EXAnimationLayer
subclass of CALayer
.
Animation of "clock" canvas is implemented in EXAnimationViewController
using EXClockView
subclass of UIView
.
This animation is driven by NSTimer
.
Animation of "aperture" canvas is implemented in EXAnimationViewController
using EXApertureView
subclass of UIView
and EXApertureLayer
subclass of CALayer
with custom animatable properties. This animation is driven by implicit or explicit CAAnimation
.
You can also check our video tutorial Creating Activity Animation in PaintCode where are shown some techniques.
PaintCode can also export GIF or PNG image sequences, that can be used for an Apple WatchTM or web animations.
Please, read also How can I animate drawings made in PaintCode? and How can I use PaintCode with Origami or Quartz Composer?.