RFLoader

MIT License
Objective-C
iOS

Powered by Appetize.io.

1 image

Author

Description

RFLoader provides a loading animation.

You can customize the Animated Loader color (Provide a UIColor) and also you can choose from 3 different animations. You can also provide an image name and animate that image as a loader.

You can also remove the loader with 3 different animations:

  • removeLoader
  • removeLoaderWithSuccess:YES
  • removeLoaderWithSuccess:NO

How To Get Started

  • Download RFLoader
  • #import "RFLoader.h"
  • Create an instance of RFLoader:

RFLoader *customLoader = [[RFLoader alloc] init];

[customLoader showLoaderWithColor:[UIColor redColor] andAnimation:LoaderMix andImage:nil onView:self.view];

If you prefer to use an image: [customLoader showLoaderWithColor:[UIColor redColor] andAnimation:LoaderMix andImage:@"icon.png" onView:self.view];

To remove Loader:

  • [customLoader removeLoader];
  • [customLoader removeLoaderWithSuccess:YES];
  • [customLoader removeLoaderWithSuccess:NO];

Tags