Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.5 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.5 KB

ArcGenerator

Generate frames for arcs to use with WatchKit! Created for WatchKit by Tutorials, which includes a full tutorial on using and enhancing ArcGenerator.

Create arcs like these with infinite customizable options: Arcs

###Usage

1. Run ArcGenerator

let generator = ArcGenerator()
let animation = ArcAnimation.spinningArcAnimation()
generator.generateArcAnimationFrames(animation)

Make sure to run the app inside the Simulator

2. Grab Your Images

Find the terminal output:

Done generating frames "progress" to path:
/Users/jackwu/Library/Developer/CoreSimulator/Devices/F5757BEE-CD7C-4A21-883B-174DE61DF38E/data/Containers/Data/Application/2534EC1B-ED76-458F-AC27-7C3B1540E777/Documents/progress

Copy the path and go to your Terminal. Type open followed by the path to open the folder

open /Users/jackwu/Library/Developer/CoreSimulator/Devices/F5757BEE-CD7C-4A21-883B-174DE61DF38E/data/Containers/Data/Application/2534EC1B-ED76-458F-AC27-7C3B1540E777/Documents/progress

###Customizing

Comes with 2 default animations

  • spinningArcAnimation
  • progressArcAnimation

See ArcAnimation.swift to see how the default animations are generated and how you can customize it to make new ones.

###Other To render animation frames from UIViews, check out frosty's FlipBook.

ArcGenerator is released under the MIT license.