TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Custom |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Subclass of UIButton to display circular profile-like images. Based on NZCircularImageView, and SDWebImage.
Add #import "AMBCircularButton.h"
to your project and set circular image to your AMBCircularButton
s:
AMBCircularButton *circularButton = [[AMBCircularButton alloc] init];
NSURL *url = [NSURL URLWithString:@"http://lh3.ggpht.com/_ERXQs5oLNgE/S01Ee_26lsI/AAAAAAAAAlY/1T0Dl4QJiYk/s800/lenaV.jpg"];
[circularButton setCircularImageWithURL:url forState:UIControlStateNormal];
iOS 6.0+, ARC and Foundation.framework
, QuartzCore.framework
and UIKit.framework
.
Make sure you have imported the required frameworks and install SDWebImage. Then, download the latest code version and drag&drop to your project the folder AMBCircularButton
, copying the files. Import AMBCircularButton.h
.
AMBCircularButton
is released under GPLv3 license.