This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adds support for loading UIImage's from PDF files. I think it's a great way to add resolution-independent graphics to your apps, and also remove the "export to bitmap" step from your workflow. Just save directly from Illustrator! | |
What it does: | |
- You can pass the name of a PDF file (with or without the '.pdf') to +[UIImage imageNamed:] | |
- You can use the name of a PDF file inside Interface Builder, in your UIImageView's | |
- Turn a multi-page PDF into an array of UIImage's... good for animation. | |
Feedback to gists @nielsbot.com. Thanks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// profiler.h | |
// Quick and dirty profiler | |
// | |
// Created by Niels Gabel on 9/1/08. | |
// | |
// Copyright 208-2011 Niels Gabel | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. |