Example code to go along with this bryce.co
YouTube video:
https://www.youtube.com/watch?v=NdJ_y1c_j_I
Creates a 30 second looping animation in an iOS Widget using public APIs — this example runs at 8 FPS, but you can get up to 30 FPS using the same technique.