anl

ANLoader

Create Swift loader in a single line with beautiful animation. 🏡

Showing:

Popularity

Downloads/wk

0

GitHub Stars

38

Maintenance

Last Commit

2yrs ago

Contributors

4

Package

Dependencies

0

License

MIT

Categories

Readme

ANLoader

πŸ‘Ύ Create loading view with just a single lines of code. ⛳️

Build Status Version License Platform Swift 5.0 compatible

Example

To run the example project, clone the repo, and run pod install from the Example directory first. πŸŽ‰

πŸ›  How to start loading

By using a simple line create loading view. ☝🏻

ANLoader.showLoading("Loading", disableUI: true)

By choosing 'disableUI' stops user interactions until you hide loading Activity. πŸ™Œ

⚑️ Use directly without disable UI

ANLoader.showLoading()

πŸ–πŸ» How to dismiss loading

No need to call other extra things it will be manage automatically. πŸ‘πŸ»

ANLoader.hide()

πŸ“ Custom Settings

Easy to make changes by choosing options πŸ”§

ANLoader.pulseAnimation = true //It will animate your Loading
ANLoader.activityColor = .darkGray
ANLoader.activityBackgroundColor = .clear
ANLoader.activityTextColor = .clear

Note : - Please keep in mind activityColor and activityBackgroundColor should be different.Otherwise you can manage by your self. Add custom settings in the AppDelegate class.

πŸ€” Requirements

  • Deployment target of your App is >= iOS 10.2
  • Xcode 10+

πŸ’» Installation

ANLoader is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ANLoader', :git => 'https://github.com/ANSCoder/ANLoader.git'

Swift Package Manager

dependencies: [
  .package(url: "https://github.com/ANSCoder/ANLoader.git", from: "2.0.0")
]

or

Manually drag and drop ANLoader.swift single file inside your project.

πŸ‘€ Author

anscoder (Anand)

πŸ“„ License

ANLoader is available under the MIT license. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100