A cute loading indicator just like the new PlayStation app's way. It provides two different indicator styles.
You can open the sample project and take a brief look :)
TODO.
Add PFPlayStationLoadingView
to your Podfile
:
pod 'PFPlayStationLoadingView'
Run pod install
to install this framework.
Drag Classes
folder to your project.
// 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];
This project is released under the terms and conditions of the MIT license. See LICENSE for details.