AMBCircularButton 0.0.3

AMBCircularButton 0.0.3

TestsTested
LangLanguage Obj-CObjective C
License Custom
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • Álvaro Medina Ballester

Subclass of UIButton to display circular profile-like images. Based on NZCircularImageView, and SDWebImage.

How to use it

Add #import "AMBCircularButton.h" to your project and set circular image to your AMBCircularButtons:

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

Requirements

iOS 6.0+, ARC and Foundation.framework, QuartzCore.framework and UIKit.framework.

Installation

Source code

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.

License

AMBCircularButton is released under GPLv3 license.