To manually add FillableLoaders to your project you just need to copy the Source folder files. Carthage github "poolqf/FillableLoaders" ~> "1.3.0".
![color ui text view color border xcode cg color color ui text view color border xcode cg color](https://spin.atomicobject.com/wp-content/uploads/20171111231305/gradientbutton-insets.png)
Color ui text view color border xcode cg color update#
It will automatically fire an animation to update the loader fill progressīackground of the loader view (transparent by default)Īlpha of the loader view (1.0 by default)Ĭorner radius of the loader view (0.0 by default)ĭuration of the animations (10.0 by default)īool to indicate if the loader has to swing when going up (small rotation, not available for the Plain loader)Įxtra property for Spikes and Rounded loaders: Indicates if the loader movement is progress based or not (Default: false) Just call the method removeLoader() and the loader will disappear and will also be removed from its superview.Īpart from being able to customize the loader shape, you can also customize other properties of the loader. createProgressBasedLoaderWithPath(path:onView:).Var loader = WavesLoader.createLoaderWithPath(path)Īll the methods wave the variant version where you can pass it the view in which you want to add the loader: Var loader = WavesLoader.createProgressBasedLoaderWithPath(path) If you want to create the loader, and not show it at the same moment, you can use createProgressBasedLoaderWithPath(path:) or createLoaderWithPath(path:) to create it, and when you want to show it, just call showLoader() So, it is just a helper method to do everything at once. ShowLoaderWithPath(path:) or showProgressBasedLoaderWithPath(path:) are going to call the create one, and after it, are going to call the showLoader() method.
![color ui text view color border xcode cg color color ui text view color border xcode cg color](https://i.ytimg.com/vi/XmAy2eOATTw/hqdefault.jpg)
ShowProgressBasedLoaderWithPath(path:), createProgressBasedLoaderWithPath(path:), showLoaderWithPath(path:) and createLoaderWithPath(path:) There are four main methods to create the loaders: To update the fill progress, update the progress property of the loader, which goes from 0.0 to 1.0.
![color ui text view color border xcode cg color color ui text view color border xcode cg color](https://images.squarespace-cdn.com/content/v1/52428a0ae4b0c4a5c2a2cede/1593031848723-VUOLA56HW16O3AQ6UF18/ke17ZwdGBToddI8pDm48kPikpw-AeQSQXebMoxwvtS57gQa3H78H3Y0txjaiv_0fDoOvxcdMmMKkDsyUqMSsMWxHk725yiiHCCLfrh8O1z5QHyNOqBUUEtDDsRWrJLTmHPnFy-PbLjJyobmSVV7HL8vZSdrL9Dh1cpoqZrSaU5SdlheUHORCiuIV7bYgSNXQ/swiftui-texteditor-project.png)