UIImage category for dealing with vector formats like PDF and icon fonts.
Use an icon font PDF:
UIFont *font = [UIFont fontWithName:@"MyIconFont" size:28.0f];
UIImage *gear = [UIImage iconWithFont:font named:@"g"
withTintColor:[UIColor whiteColor] clipToBounds:NO forSize:28.0f];
Use a PDF:
UIImage *gear = [UIImage imageWithPDFNamed:@"gear"
withTintColor:[UIColor whiteColor] forHeight:28.0f];
Simply add the files in UIImage-Vector
to your project and link CoreText.framework
.