A simple UIImageView subclass for dealing with http://gravatar.com images.
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like RFGravatarImageView in your projects.
platform :ios, '7.0' pod "RFGravatarImageView", "~> 1.1"
Just drag the
RFGravatarImageView folder into your project and import it. You'll also have to download SDWebImage.
RFGravatarImageView is pretty easy to use. See this example implementation (copy/paste from demo project).
_imageView = [[RFGravatarImageView alloc] initWithFrame:self.view.bounds]; _imageView.email = @"email@example.com"; _imageView.forceDefault = YES; _imageView.defaultGravatar = RFDefaultGravatarMysteryMan; _imageView.size = 1024; [self.view addSubview:_imageView]; [_imageView load];
Hope you enjoy it! Please Fork and send Pull Requests!
RFGravatarImageView is available under the MIT license. See the LICENSE file for more info.