RFLoader for iOS by Ricardo Funk

Download Source

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];

License: MIT

Language: Objective-C

by 1 person

(Click the stars to add your rating)

Sponsored with ❤️ by Instabug
Why do mobile-first companies choose Instabug over Crashlytics
Instabug

Instabug helps you identify and resolve severe crashes quickly. You can retrace in-app events and know exactly which line of code caused the crash along with environment details, network logs, repro steps, and the session profiler. Ask more questions or keep users up-to-date with in-app replies straight from your dashboard. We take data privacy seriously, so no one sees your data but you!