Skip to content

Commit

Permalink
Version increment, readme adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Romanchenko committed Jan 21, 2019
1 parent 6452cc4 commit 1398ffb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -66,6 +66,7 @@ Describes how much time needed to rotate around circle.
Minimum/Maximum item size. Generally, item sizes are linearly interpolated from first to last, so first item would have `maxItemSize` and last item would have `minItemSize`.

`@property (nonatomic) CGSize minItemSize;`

`@property (nonatomic) CGSize maxItemSize;`

Tells how much faster items will make full rotation around a circle. This value is linearly interpolated between items. First item would get `maxSpeed`, last item would get `minSpeed`(`minSpeed` always equal to 1).
Expand All @@ -75,6 +76,7 @@ Tells how much faster items will make full rotation around a circle. This value
All items are rotated around imaginary circle, thus they depend on angle. Angle of rotation is interpolated by using cubic Bezier. Cubic Bezier has 4 control points to configure a curve (more information [here](http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Cubic_B.C3.A9zier_curves)). 2 curves are preserved by component (initial, final) and they are equal to (0, 0) and (1, 1). Other two can be customized by you. You can use for example this [site](http://cubic-bezier.com/) to adjust your curve/grab control point and set them for activity indicator.

`@property (nonatomic) CGPoint firstBezierControlPoint;`

`@property (nonatomic) CGPoint secondBezierControlPoint;`

When activity indicator isn’t animating it can automatically hide if this property set to `YES`.
Expand All @@ -100,7 +102,7 @@ If you have any suggestions feel free to [contact](mailto:solomidSF@bk.ru) me.

## Version

v1.2.0
v1.3.0

## License

Expand Down
2 changes: 1 addition & 1 deletion YRActivityIndicator.podspec
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'YRActivityIndicator'
s.version = '1.2.0'
s.version = '1.3.0'
s.summary = 'Fancy, highly customizable activity indicator that is using cubic Bezier for animation.'
s.description = <<-DESC
YRActivityIndicator - component for showing loading activity in your application.
Expand Down

0 comments on commit 1398ffb

Please sign in to comment.