Latest0.1
Homepagehttps://github.com/remirobert/RRColorAverageBanner
LicenseMIT
Platformsios 7.0, requires ARC
Authors

CI Status
Version
License
Platform

Allows you to add a banner to your images to display content or explanations. It goes very well with the image, since it uses the average of all pixels of the image color.

The banner is a UIView containing a UILabel, but can theoretically do what you want!

Overview

Alt text

Usage

- (void) displayPicture {
    UIImageView *v1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"1"]];
    v1.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.width);

    [v1 addBannerImage];
    [v1 getBannerView].textBanner.text = @"content text";

    [self.view addSubView:v1];
  }

Installation

RRColorAverageBanner is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "RRColorAverageBanner"

Author

remirobert, [email protected]

License

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

Latest podspec

{
    "name": "RRColorAverageBanner",
    "version": "0.1",
    "summary": "RRcolorAverageBanner.",
    "description": "                        RRColorAverageBanner for UIImageViewn",
    "homepage": "https://github.com/remirobert/RRColorAverageBanner",
    "license": "MIT",
    "authors": {
        "remirobert": "[email protected]"
    },
    "source": {
        "git": "https://github.com/remirobert/RRColorAverageBanner.git",
        "commit": "a560b930fbd0439ec600fdd863db84eec21853cb",
        "tag": "v0.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "RRColorAverageBanner/"
}

Pin It on Pinterest

Share This