Latest 1.1
Homepage https://github.com/ruddfawcett/RFGravatarImageView
License MIT
Platforms ios 7.0, requires ARC
Dependencies SDWebImage
Frameworks UIKit
Authors

RFGravatarImageView
RFGravatarImageView Version License MIT reposs

A simple UIImageView subclass for dealing with http://gravatar.com images.

Installation

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like RFGravatarImageView in your projects.

Podfile

platform :ios, '7.0'
pod "RFGravatarImageView", "~> 1.1"

Installation without CocoaPods

Just drag the RFGravatarImageView folder into your project and import it. You’ll also have to download SDWebImage.

#import 'RFGravatarImageView.h'

Use

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 protected]";
_imageView.forceDefault = YES;
_imageView.defaultGravatar = RFDefaultGravatarMysteryMan;
_imageView.size = 1024;

[self.view addSubview:_imageView];

[_imageView load];

See RFGravatarImageView.h to view each available method and the variables – I’ve commented on everything you need (I think). For more information on the Gravatar image requests, see here.

Hope you enjoy it! Please Fork and send Pull Requests!

License

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

Latest podspec

{
    "name": "RFGravatarImageView",
    "version": "1.1",
    "summary": "A simple UIImageView subclass for dealing with http://gravatar.com images.",
    "homepage": "https://github.com/ruddfawcett/RFGravatarImageView",
    "license": "MIT",
    "authors": {
        "Rudd Fawcett": "[email protected]"
    },
    "social_media_url": "https://twitter.com/ruddfawcett",
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/ruddfawcett/RFGravatarImageView.git",
        "tag": "v1.1"
    },
    "source_files": [
        "RFGravatarImageView",
        "RFGravatarImageView/**/*.{h,m}"
    ],
    "dependencies": {
        "SDWebImage": [
            "~> 3.7"
        ]
    },
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This