FillableLoaders alternatives and similar libraries
Based on the "UI" category.
Alternatively, view FillableLoaders alternatives based on common mentions on social networks and blogs.
-
Charts
Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart. -
Material
A UI/UX framework for creating beautiful applications. -
NVActivityIndicatorView
A collection of awesome loading animations -
Animated Tab Bar
:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion -
folding-cell
:octocat: 📃 FoldingCell is an expanding content cell with animation made by @Ramotion -
LTMorphingLabel
[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift. -
JTAppleCalendar
The Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable -
SwiftMessages
A very flexible message bar for iOS written in Swift. -
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
SwiftEntryKit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps. -
TextFieldEffects
Custom UITextFields effects inspired by Codrops, built using Swift -
Pagemenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
SwipeCellKit
Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift. -
Macaw
Powerful and easy-to-use vector graphics Swift library with SVG support -
AMScrollingNavbar
Scrollable UINavigationBar that follows the scrolling of a UIScrollView -
SPPermission
Universal API for request permission and get its statuses. -
PermissionScope
A Periscope-inspired way to ask for iOS permissions. -
ImagePicker
:camera: Reinventing the way ImagePicker works. -
Alerts Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date... -
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
Material Components for iOS
[In maintenance mode] Modular and customizable Material Design UI components for iOS -
SCLAlertView
Beautiful animated Alert View. Written in Swift -
Scrollable-GraphView
An adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift. -
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
Instructions
Create walkthroughs and guided tours (coach marks) in a simple way, with Swift. -
ESTabBarController
:octocat: ESTabBarController is a Swift model for customize UI, badge and adding animation to tabbar items. Support lottie! -
ActiveLabel
UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift -
TLYShyNavBar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars! -
Siren
Notify users when a new version of your app is available and prompt them to upgrade. -
PopupDialog
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style. -
PKHUD
A Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8. -
SlideMenuControllerSwift
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift. -
KMNavigationBarTransition
A drop-in universal library helps you to manage the navigation bar styles and makes transition animations smooth between different navigation bar styles while pushing or popping a view controller for all orientations. And you don't need to write any line of code for it, it all happens automatically. -
StarWars.iOS
This component implements transition animation to crumble view-controller into tiny pieces. -
DGElasticPullToRefresh
Elastic pull to refresh for iOS developed in Swift -
Whisper
:mega: Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside -
Persei
Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift -
XLActionController
Fully customizable and extensible action sheet controller written in Swift -
PaperOnboarding
:octocat: PaperOnboarding is a material design UI slider. Swift UI library by @Ramotion -
DOFavoriteButton
Cute Animated Button written in Swift. -
CircleMenu
:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion -
RazzleDazzle
A simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of FillableLoaders or a related project?
README
FillableLoaders
Completely customizable progress based loaders drawn using custom CGPath
s written in Swift
Waves
Plain
Spike
Rounded
Demo:
Changelog:
- 1.3.0 (24 Sep 2016)
- Swift 3.0
- 1.2.6 (8 Apr 2016)
- Fixing issue with width assert
- Adapted to Swift 2.2
- 1.2.5 (11 Dec 2015)
- Precompiled framework using Xcode 7.2
- 1.2.4 (28 Oct 2015)
- Fixing issue when showing loader after removing it
- 1.2.2 (27 Oct 2015)
- Precompiled framework using Xcode 7.1
- 1.2.1 (25 Oct 2015)
- Added the possibility to add a loader to a desired UIView
- Updated to Swift 2.0
- 1.1.1 (2 Sep 2015)
- Added Carthage Support
- Added animation when hidding loader
- 1.0.1 (17 Aug 2015)
- Removed unused code
- 1.0.0 (7 Aug 2015)
- Progress based loaders :tada:
- Added documentation to all the public properties and functions
- 0.0.2 Initial Release (3 Aug 2015)
Quick Start:
- Progress based behaviour
Therea are only 2 necessary things to make the progress based loader work:
- Create the loader using
showProgressBasedLoaderWithPath(path:)
orcreateProgressBasedLoaderWithPath(path:)
- To update the fill progress, update the
progress
property of the loader, which goes from0.0
to1.0
- Creation
There are four main methods to create the loaders:
showProgressBasedLoaderWithPath(path:)
, createProgressBasedLoaderWithPath(path:)
,showLoaderWithPath(path:)
and createLoaderWithPath(path:)
showLoaderWithPath(path:)
or showProgressBasedLoaderWithPath(path:)
are going to call the create one, and after it, are going to call the showLoader()
method.
So, it is just a helper method to do everything at once.
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()
Sample code:
//PROGRESS BASED:
var loader = WavesLoader.createProgressBasedLoaderWithPath(path)
loader.loaderColor = UIColor.redColor()
...
//Do other stuff
...
loader.showLoader()
//BASIC
var loader = WavesLoader.createLoaderWithPath(path)
loader.loaderColor = UIColor.redColor()
...
//Do other stuff
...
loader.showLoader()
- Showing loader in desired view:
All the methods wave the variant version where you can pass it the view in which you want to add the loader:
showProgressBasedLoaderWithPath(path:onView:)
createProgressBasedLoaderWithPath(path:onView:)
showLoaderWithPath(path:onView:)
createLoaderWithPath(path:onView:)
- Deletion:
Just call the method removeLoader()
and the loader will disappear and will also be removed from its superview.
Sample code:
loader.removeLoader()
Customization:
Apart from being able to customize the loader shape, you can also customize other properties of the loader. Take a look at the list:
- progressBased: Bool
Indicates if the loader movement is progress based or not (Default: false) - progress: CGFloat
Loader fill progress from 0.0 to 1.0 . It will automatically fire an animation to update the loader fill progress - backgroundColor: UIColor?
Background of the loader view (transparent by default) - loaderColor: UIColor?
Color of the filled loader - loaderBackgroundColor: UIColor?
Color of the unfilled loader - loaderStrokeColor: UIColor?
Color of the path stroke - loaderStrokeWidth: CGFloat
Width of the path stroke - loaderAlpha: CGFloat
Alpha of the loader view (1.0 by default) - cornerRadius: CGFloat
Corner radius of the loader view (0.0 by default) - duration: NSTimeInterval
Duration of the animations (10.0 by default) - rectSize: CGFloat
Height of the loader view - swing: Bool
Bool to indicate if the loader has to swing when going up (small rotation, not available for the Plain loader)
Extra property for Spikes
and Rounded
loaders:
- -spikeHeight: CGFloat
Height of the spike
Installation:
• CocoaPods
use_frameworks!
pod 'FillableLoaders', '~>1.3.0'
• Carthage
github "poolqf/FillableLoaders" ~> "1.3.0"
• Manually
To manually add FillableLoaders
to your project you just need to copy the Source
folder files.
How to create my own CGPath?
:warning: The CGPath bounds cannot exceed the bounds of the loaderView:
- Width: Screen width
- Height: rectSize property
• Manually
let path = CGPathCreateMutable()
CGPathMoveToPoint(path, nil, 0, height/2)
CGPathAddLineToPoint(path, nil, width + 100, height/2)
CGPathAddLineToPoint(path, nil, width + 100, height*2)
CGPathAddLineToPoint(path, nil, 0, height*2)
CGPathCloseSubpath(path)
return path
• PaintCode
PaintCode is a realy powerful Mac app that can do a lot of things. You can just draw things, and it will automagically create the code for you
In this case we can use it to create BezierPaths, and extract from there the CGPath.
In the case of drawing a star, it is going to give us this code:
//// Star Drawing
var starPath = UIBezierPath()
starPath.moveToPoint(CGPointMake(180, 25))
starPath.addLineToPoint(CGPointMake(195.16, 43.53))
starPath.addLineToPoint(CGPointMake(220.9, 49.88))
starPath.addLineToPoint(CGPointMake(204.54, 67.67))
starPath.addLineToPoint(CGPointMake(205.27, 90.12))
starPath.addLineToPoint(CGPointMake(180, 82.6))
starPath.addLineToPoint(CGPointMake(154.73, 90.12))
starPath.addLineToPoint(CGPointMake(155.46, 67.67))
starPath.addLineToPoint(CGPointMake(139.1, 49.88))
starPath.addLineToPoint(CGPointMake(164.84, 43.53))
starPath.closePath()
UIColor.grayColor().setFill()
starPath.fill()
The only thing we have to do here is extract the CGPath from the UIBezierPath like so:
let myPath = starPath.CGPath
var myLoader = WavesLoader.showProgressBasedLoaderWithPath(myPath)
• SVG + PaintCode
A feature that I LOVE
from PaintCode is that you can import an .svg file, and it is going to create the code to create its BezierPath. Completely awesome.
That's how I did the Github and Twitter logos, for example.
Technical details:
- Swift 3.0
- Animations using CAKeyFrameAnimation
Licenses
All source code is licensed under the MIT License.
If you use it, i'll be happy to know about it.
Pol Quintana - @poolqf
*Note that all licence references and agreements mentioned in the FillableLoaders README section above
are relevant to that project's source code only.