Latest 0.2.0
Homepage https://github.com/FandyLiu/FDGroupIconView
License MIT
Platforms ios 7.0, requires ARC
Dependencies SDWebImage
Frameworks UIKit
Authors

==============
Pod License 
Pod Version 
Pod Platform 

you can set your group icon more simple by FDGroupIconView.

CocoaPods Installation

  1. Add pod 'FDGroupIconView' to your Podfile.
  2. Run pod install or pod update.
  3. Import <FDGroupIconView/FDGroupIconView.h>.

Requirements

This library requires iOS 6.0+ and Xcode 7.0+.

Demo Project

See Demo/FDGroupIconViewDemo.xcodeproj

How To Use

you can creat iconArray by UIImage NSURL or NSString(imageName/urlString)


UIImage *image2 = [UIImage imageNamed:@"two"];

NSURL *url4 = [NSURL URLWithString:@"http://v1.qzone.cc/avatar/201505/18/13/28/55597873bc536742.jpg%21200x200.jpg"];

// you can creat this array by  UIImage  NSURL or NSString(imageName/urlString) 
NSArray *iconArray = @[@"one.png",// imageName
                       image2, // UIImage
                       @"http://v1.qzone.cc/avatar/201506/22/14/08/5587a649427f7478.png%21200x200.jpg", // urlString
                       url4, //  NSURL
                       @"http://v1.qzone.cc/avatar/201506/22/14/08/5587a65d495f9719.png%21200x200.jpg",
                                   ];
FDGroupIconView *icon = [FDGroupIconView groupIconViewWithFrame:CGRectMake(0, 0, 130, 130) iconArray:iconArray];
icon.center = CGPointMake(75,75);
[cell.iconImageView addSubview:icon];

License

FDGroupIconView is provided under the MIT license. See LICENSE file for details.

Latest podspec

{
    "name": "FDGroupIconView",
    "version": "0.2.0",
    "summary": "Setup Group Icon more easier. You just need One line is enough.",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "fandylau": "[email protected]"
    },
    "homepage": "https://github.com/FandyLiu/FDGroupIconView",
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/FandyLiu/FDGroupIconView.git",
        "tag": "0.2.0",
        "submodules": true
    },
    "requires_arc": true,
    "source_files": "FDGroupIconView/**/*.{h,m}",
    "public_header_files": "FDGroupIconView/**/*.{h}",
    "resource_bundles": {
        "FDGroupIconView": [
            "FDGroupIconView/FDGroupIconResource.bundle/*.png"
        ]
    },
    "frameworks": "UIKit",
    "dependencies": {
        "SDWebImage": [
            "~> 3.7.5"
        ]
    }
}

Pin It on Pinterest

Share This