Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent dd6407a commit 723fa39ffe2fe4d0c5c63444c93be3ace278f490 @Dillion committed Jan 16, 2012
Showing with 12 additions and 14 deletions.
  1. +12 −14 README.md
View
@@ -1,32 +1,30 @@
####iOS-Flip-Transform
-####Summary:
+####Summary:
Animation component for the effect of flipping as in a news/clock ticker, or a page turn.
Structured around the idea of a data object (i.e. headline in news, number in a clock, page in a book) as an animation frame, comprised of multiple CALayers.
-Supports 3 interaction modes:
-Triggered - as in a tap to flip
-Auto - as in a revolving flip that loops through data
+Supports 3 interaction modes:
+Triggered - as in a tap to flip
+Auto - as in a revolving flip that loops through data
Controlled - as in a pan gesture that moves the flip layer according to touch
-Supports different types of content:
-Blank, with background color
-With image (whether from file or screenshot)
+Supports different types of content:
+Blank, with background color
+With image (whether from file or screenshot)
With dynamic text, either composited on background or on image
-Supports customizable parameters:
+Supports customizable parameters:
Sensitivity, gravity, shadow, text positioning, alignment, font etc.
####Basic Usage:
-1. Create delegate object -
-AnimationDelegate *animationDelegate = [[AnimationDelegate alloc] initWithSequenceType:kSequenceAuto directionType:kDirectionForward];
+1. Create delegate object -
+AnimationDelegate *animationDelegate = [[AnimationDelegate alloc] initWithSequenceType: directionType:];
-2. Create flip view and assign it to animation delegate -
-FlipView *flipView = [[FlipView alloc] initWithAnimationType:kAnimationFlipVertical
- animationDelegate:animationDelegate
- frame:CGRectMake(60, 95, 200, 50)];
+2. Create flip view and assign it to animation delegate -
+FlipView *flipView = [[FlipView alloc] initWithAnimationType: animationDelegate: frame:];
animationDelegate.transformView = flipView;
3. Add flip view as subview and customize properties

0 comments on commit 723fa39

Please sign in to comment.