Latest 0.0.1
Homepage https://github.com/bindurs/XMAddons
License MIT
Platforms ios 8.0
Authors

XMActivtyIndicator

Installation

Manual

Drag and drop All the files in XMAddons to your project

Cocoapods

Add this to your podfile :

pod 'XMAddons'

Usage

Import XMActivityIndicator.h in your viewcontroller

Creating ActivityIndicatorView :

self.activityIndictor = [[XMActivityIndicator alloc]init];

Configuration :

self.activityIndictor.activityCornerRadius = self.activityIndictor.frame.size.width/2;
self.activityIndictor.activityStyle = UIActivityIndicatorViewStyleWhiteLarge
self.activityIndictor.activityColor = [UIColor redColor];
  • For Large activity indicator :
    self.activityIndictor.activityType = BRSACTIVITYLARGE; 
  • For Small activity indicator :
    self.activityIndictor.activityType = BRSACTIVITYSMALL;
    self.activityIndictor.activityIndicatorSize = @300;

Latest podspec

{
    "name": "XMAddons",
    "version": "0.0.1",
    "summary": "Commonly used classes for iOS projects.",
    "homepage": "https://github.com/bindurs/XMAddons",
    "license": "MIT",
    "platforms": {
        "ios": "8.0"
    },
    "authors": {
        "Bindu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/bindurs/XMAddons.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "XMAddons",
        "XMAddons/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This