94
GitHub - pigfly/A_J_Dot_Loading_Indicator: High Performance Custom Dot Loading I...
source link: https://github.com/pigfly/A_J_Dot_Loading_Indicator
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
A-J-Dot-Loading-Indicator
A-J-Dot-Loading-Indicator is an drop-in solution for full screen image and video browser
Features
- No Dependency, 100% iOS Native
- Support both iPad and iPhone family
- Support device rotation
- Non-intrusive integration
- Full documentation
- Easy to customise
Requirements
- iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
- Xcode 8.3+
- Swift 3.1+
Installation
- drag and drop the entire
core
folder into your project
Full Usage Example
import UIKit final class ViewController: UIViewController { override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) view.aj_showDotLoadingIndicator() } @IBAction func stop(_ sender: UIButton) { view.aj_hideDotLoadingIndicator() } }
Folder Structure
├── ViewController.swift ├── core │ ├── AJDotLoadingView.swift │ ├── AJDotLoadingView.xib │ └── UIDotLoadingIndicator.swift └── helper └── UIViewHelper.swift
A-J-Dot-Loading-Indicator
UIViewHelper
helper UIView
methods to refactor out common patterns
core/AJDotLoadingView
wrapper view to include UIDotLoadingIndicator
custom control
core/UIDotLoadingIndicator
UI custom control for the dot loading indicator
Demo
Credits
A-J-Dot-Loading-Indicator is owned and maintained by the Alex Jiang. Thanks iTMan.design for providing computational resources.
License
A-J-Dot-Loading-Indicator is released under the MIT license.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK