MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
MPLoadIndicator Class Reference

#include <MPLoadIndicator.h>

Inheritance diagram for MPLoadIndicator:

Instance Methods

(nullable instancetype) - initOnView:
 
(nullable instancetype) - initOnView:withText:
 
(void) - start
 
(void) - stop
 

Properties

UIActivityIndicatorView * indicatorView
 
UIView * parentView
 
UITextView * textView
 

Detailed Description

A basic load indicator, with the option to set a text.

Method Documentation

◆ initOnView:

- (nullable instancetype) initOnView: (nonnull UIView *) view

Instantiates the indicator and places the indicator in a view.

Parameters
viewThe view to hold the indicator.

◆ initOnView:withText:

- (nullable instancetype) initOnView: (nonnull UIView *) view
withText: (nonnull NSString *) text 

Instantiates the indicator and places the indicator in a view with a given text.

Parameters
viewThe view to hold the indicator.
textThe text to display with the indicator.

◆ start

- (void) start

Start and show the indicator animation

◆ stop

- (void) stop

Stop and hide the indicator animation

Property Documentation

◆ indicatorView

- (UIActivityIndicatorView*) indicatorView
readwritenonatomicstrong

The indicator view.

◆ parentView

- (UIView*) parentView
readwritenonatomicstrong

View holding the load indicator.

◆ textView

- (UITextView*) textView
readwritenonatomicstrong

The text view