Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (19 sloc) 1.03 KB

iMagickWand

UIImageView subclass which allows to change color of the image via tap gesture:

Usage

Same as regular UIImageView, just set:
    @property(nonatomic, retain) UIColor* color;
    @property(nonatomic) int tolerance;
and it will be ready to receive your taps. Optionally implement MWImageViewDelegate and receive:
    -(void)imageViewDidStartedProcessing:(MWImageView*)imageView;
    -(void)imageViewDidFinishedProcessing:(MWImageView*)imageView;

Credits

License

Licensed under the Apache License, Version 2.0