From 8b409c2fa88e989cf7a5796fa512b25315a5f2e3 Mon Sep 17 00:00:00 2001 From: Felix Mau Date: Wed, 17 Jun 2020 12:34:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20::=20Update=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 8b86f62..2c411f0 100644 --- a/readme.md +++ b/readme.md @@ -98,7 +98,8 @@ Example with `isRelativeToSafeArea` set to `true`. Example with `isRelativeToSafeArea` set to `false`. [![Example][safe-area-example--thumbnail]][safe-area-example] -**Note:** There is a third option which will wrap the loading bar around the iPhone notch. See documentation of the class `NotchGradientLoadingBar` for further details. +**Note** +There is a third option which will wrap the loading bar around the iPhone notch. See documentation of the class `NotchGradientLoadingBar` for further details. ##### Properties ###### – `gradientColors: [UIColor]` @@ -155,7 +156,8 @@ E.g. View added as a subview to a `UINavigationBar`. E.g. View added as a subview to a `UIButton`. [![Example][advanced-example--thumbnail]][advanced-example] -**Note:** The progress-animation starts and stops according to the `isHidden` flag. Setting this flag to `false` will start the animation, setting this to `true` will stop the animation. Often you don't want to directly show / hide the view and instead smoothly fade it in or out. Therefore the view provides the methods `fadeIn(duration:completion)` and `fadeOut(duration:completion)`. Based on my [gist](https://gist.github.com/fxm90/723b5def31b46035cd92a641e3b184f6), these methods adjust the `alpha` value of the view and update the `isHidden` flag accordingly. +**Note** +The progress-animation starts and stops according to the `isHidden` flag. Setting this flag to `false` will start the animation, setting this to `true` will stop the animation. Often you don't want to directly show / hide the view and instead smoothly fade it in or out. Therefore the view provides the methods `fadeIn(duration:completion)` and `fadeOut(duration:completion)`. Based on my [gist](https://gist.github.com/fxm90/723b5def31b46035cd92a641e3b184f6), these methods adjust the `alpha` value of the view and update the `isHidden` flag accordingly. ##### Properties ###### – `gradientColors: [UIColor]`