Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments