Latest 0.1.1
Homepage https://github.com/NirmalsinhRathod/CreolePriceSelectionView
License MIT
Platforms ios 8.0
Dependencies iCarousel
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Manual Installation

Just drag a file into your project and use below code:

    CreolePriceSelectionView *objCreolePriceSelectionView = [[CreolePriceSelectionView alloc] initWithFrame:CGRectMake(YOUR_FRAME)];
    [objCreolePriceSelectionView setDefaultColor]; // It will set defualt color for text and background.

    /*
     You can set text color manually also.

     objCreolePriceSelectionView.selectItemColor = YOUR_SELECTED_ITEM_COLOR.
     objCreolePriceSelectionView.normalItemColor  = YOUR_NORMAL_ITEM_COLOR.
     objCreolePriceSelectionView.selectedTextColor = YOUR_SELECTED_TEXT_COLOR
     objCreolePriceSelectionView.normalTextColor = YOUR_NORMAL_TEXT_COLOR

     */

    // You can pass your array for price like this:
    [objCreolePriceSelectionView setup:[[NSMutableArray alloc] initWithObjects:@"10", @"20", @"30", @"40", @"50", @"60", @"70", @"80", @"90", @"100", nil]];

    // Its directlly select the
    // This is optional steps to do. If you don't do this one, then it will set first automatically.
    [objCreolePriceSelectionView setPriceForItem:@"30"];

    // Set delegate to get access of current index
    objCreolePriceSelectionView.delegate = self;
    [self.view addSubview:objCreolePriceSelectionView];

    // DELEGATE 
    -(void)getPriceForSelectedIndex :(NSString *)strPrice
    {
     NSLog(@"Current selected price is :%@",strPrice);
    }

Installation

CreolePriceSelectionView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "CreolePriceSelectionView"

Author

NirmalsinhRathod, [email protected]

License

CreolePriceSelectionView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CreolePriceSelectionView",
    "version": "0.1.1",
    "summary": "Its helps you to manage your price selection",
    "description": "It will help you to give a circular price selection controller. You can get selected price directly.",
    "homepage": "https://github.com/NirmalsinhRathod/CreolePriceSelectionView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "NirmalsinhRathod": "[email protected]"
    },
    "source": {
        "git": "https://github.com/NirmalsinhRathod/CreolePriceSelectionView.git",
        "branch": "master",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "CreolePriceSelectionView/Classes/**/*",
    "dependencies": {
        "iCarousel": [
            "~> 1.8.3"
        ]
    }
}

Pin It on Pinterest

Share This