Categories
Featured iPhone Development Resources Open Source iOS Libraries And Tools

Open Source: Category For Easy Embedding Of PDF Images In iOS Apps For Scalable Images

Creating images for the different iOS device screen sizes can be a tedious task.  The great thing  about vector images is that they can be scaled to any size and still maintain quality.

This is where this excellent category for embedding PDF images comes in – you can use a tool such as Photoshop, and export vector images.

The category adds imageWithPDFNamed constructors to the UIImage class allowing you to easily create a UIImage from a PDF image.

The category is from Nigel Timothy Barber and you can find it on Github here with an example.

Very useful for those buttons and icons you don’t want to be bothered with creating different sized images for.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.