Skip to content

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:40type:PFPlayStationLoadingViewTypeSquare];
[self.view addSubview:view];
// Start animating
[view startAnimating];
// Stop animating
[view stopAnimating];
// Check statusBOOL 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

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages