stephsharp / SSLoadingView

Simple Loading View for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSLoadingView

Overview

SSLoadingView is a simple loading view for iOS. It can be placed in a view of any size, and adds a large activity indicator centred in a transluscent background that fills the entire view it was added to.

Features

  • Fills the frame of its superview
  • Activity indicator is centred in the view (vertically & horizontally)
  • Transluscent background
  • Fades in/out when added/removed from a view

Demo

Screenshots

Requirements

Frameworks

Add QuartzCore.framework to your project:
Project > Target > Build Phases > Link Binary With Libraries > + > QuartzCore.framework

ARC

SSLoadingView uses Automatic Reference Counting (ARC).

Example

Show Loading View

self.loadingView = [SSLoadingView loadingViewInView:self.loadingViewContainer];

Remove Loading View

[self.loadingView removeView];

Acknowledgements

With thanks to:

About

Simple Loading View for iOS


Languages

Language:Objective-C 100.0%