Skip to content

A cute loading indicator just like the new PlayStation app's way. Provides two different indicator styles.

License

Notifications You must be signed in to change notification settings

PerfectFreeze/PFPlayStationLoadingView

Repository files navigation

PFPlayStationLoadingView

A cute loading indicator just like the new PlayStation app's way. It provides two different indicator styles.

Screenshot

Demo

You can open the sample project and take a brief look :)

Installation

Using Carthage

TODO.

Using CocoaPods

Add PFPlayStationLoadingView to your Podfile:

pod 'PFPlayStationLoadingView'

Run pod install to install this framework.

Manually

Drag Classes folder to your project.

Usage

// Type: PFPlayStationLoadingViewTypeSquare & PFPlayStationLoadingViewTypeHorizontal
// It would use frame's origin (100) and sideLength (40) to calculate frame's size.
PFPlayStationLoadingView *view = [[PFPlayStationLoadingView alloc] initWithFrame:CGRectMake(100, 100, 0, 0)
                                                                      sideLength:40
                                                               	            type:PFPlayStationLoadingViewTypeSquare];
[self.view addSubview:view];

// Start animating
[view startAnimating];

// Stop animating
[view stopAnimating];

// Check status
BOOL isAnimating = [view isAnimating];

License

This project is released under the terms and conditions of the MIT license. See LICENSE for details.

About

A cute loading indicator just like the new PlayStation app's way. Provides two different indicator styles.

Resources

License

Stars

Watchers

Forks

Packages

No packages published