Skip to content

Commit 76e72b3

Browse files
author
Michal Pyrka
committed
Updated readme for enums.
1 parent 41a5c83 commit 76e72b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ You can easily customize Parallax View in Storyboard! Jump into Example project
1717
How about accelerometer parallax instead of touch? Set **Accelerometer Enabled** to **On** in Storyboard.
1818

1919
There are 3 different ways to set up parallax:
20-
* **.BasedOnHierarchyInParallaxView** - views in background moves less than views in foreground. You can increase the movement by changing multiplerOfIndexInHierarchyToParallaxOffset - this value will be multiplied by index of view in hierarchy. Default.
21-
* **.BasedOnTag** - set a tag for a view. For instance, snowflakes image view has 13 tag which means noticeable movement. On the other hand, top view with cast members has 1 tag - almost no movement.
22-
* **.Custom(Int)** - provide your custom value.
20+
* **.basedOnHierarchyInParallaxView** - views in background moves less than views in foreground. You can increase the movement by changing multiplerOfIndexInHierarchyToParallaxOffset - this value will be multiplied by index of view in hierarchy. Default.
21+
* **.basedOnTag** - set a tag for a view. For instance, snowflakes image view has 13 tag which means noticeable movement. On the other hand, top view with cast members has 1 tag - almost no movement.
22+
* **.custom(Int)** - provide your custom value.
2323

2424
## Requirements
2525

0 commit comments

Comments
 (0)