DRImagePlaceholderHelper 1.0.1

DRImagePlaceholderHelper 1.0.1

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

Maintained by Unclaimed.


Downloads

Total7,268
Week0
Month49

Installs

Apps30
Test Targets2
powered by Segment

GitHub

Stars58
Watchers4
Forks3
Issues1
Contributors1
Pull Requests0

Code

Files4
LOCLines of Code 161


  • By
  • Albert Schulz

With DRImagePlaceholderHelper you can easily create UIImage placeholder like this:

At first you have to import the Framework

    #import "DRImagePlaceholderHelper.h"

To get a placeholder image simply do: (100x100)

    UIImage *placeholderImage = [[DRImagePlaceholderHelper sharedInstance] placerholderImageWithSize:CGSizeMake(100,100)];

Or fill a UIImageView

    [imageView fillWithPlaceholderImage]; 

There are also options to customize the fill color & the text inside the image

For more information take a look at the example project.