core graphics

Resizing UIImage objects

If you need a quick way to resize your UIImage objects project-wide, the best way to do so is to add a new method to the UIImage class by defining a category. Categories are Objective-C’s mechanism for extending a class’ functionality without subclassing it. So, let’s declare a new category named Resizing on UIImage, and […]