https://github.com/nikolay-diyanov/nativescript-material-loading-indicator
https://github.com/nikolay-diyanov/nativescript-material-loading-indicator
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikolay-diyanov/nativescript-material-loading-indicator
- Owner: nikolay-diyanov
- License: mit
- Created: 2015-09-16T07:44:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-16T07:46:57.000Z (over 10 years ago)
- Last Synced: 2025-10-08T22:52:16.350Z (5 months ago)
- Language: Ruby
- Size: 137 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nativescript - Material Loading Indicator - NativeScript Material design activity indicator for iOS. (Awesome {N} [](https://github.com/sindresorhus/awesome) / Table of Contents)
README
# NativeScript Material design activity indicator for iOS
Following the material design loading indicator for Android, this plugin provides the same look and feel for iOS.
## Prerequisites
NativeScript 1.3.0 (`tns --version`) has solved many build issues, so please upgrade if you need to.
## Installation
From the command prompt go to your app's root folder and execute:
```
tns plugin add nativescript-material-loading-indicator
```
## Usage
```js
function creatingView(args) {
var spinnerView = MMMaterialDesignSpinner.alloc().initWithFrame(CGRectMake(0,0,40,40));
spinnerView.lineWidth = 1.5;
spinnerView.tintColor = UIColor.redColor();
spinnerView.startAnimating();
args.view = spinnerView;
}
exports.creatingView = creatingView;
```
```xml
```