Handy Tool For Rendering UIViews To An Image Sequence For Use As WatchKit Animations

With WatchKit we’re basically limited to using image sequences as animations, and here’s a Swift based tool that allows you to render your UIViews to an image sequence so you can easily use them as animations in your WatchKit projects called FLipbook from James Frost.

With Flipbook you simply need to supply a target view, a duration, and an image prefix like in this example from the readme:

activityFlipbook = Flipbook()
activityFlipbook.renderTargetView(activity, duration: 1.0, imagePrefix: "activity")
activity.startAnimating()

Flipbook will notify you where the images have been saved.

You can find Flipbook on Github here.

A nice tool for generating animations for use with WatchKit.

Original article: Handy Tool For Rendering UIViews To An Image Sequence For Use As WatchKit Animations

©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *