Simple loading view for UIKit.
SAMLoadingView is tested on iOS 6 & 7 and requires ARC. Released under the MIT license.
Open up the included Xcode project for an example app.
SAMLoadingView *loadingView = [[SAMLoadingView alloc] initWithFrame:self.view.bounds];
loadingView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
[self.view addSubview:loadingView];
See the header for full documentation.
Simply add the files in the SAMLoadingView.h
and SAMLoadingView.m
to your project or add SAMLoadingView
to your Podfile if you're using CocoaPods.