Codec ░ NSBundle

16UIImage & cache

[UIImage imageNamed:@"image.jpg"]

caches image for lifetime of app.

[UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@”image” ofType:@”png”]]

no caching, always loaded from memory.

after caching, faster display
problem, running out of memory

581Resizing an UIImage 569Layering one UIImage onto of another UIImage 347UIImage → pixelData → UIImage Rountrip 338Accessing RGBA Pixel Data 334Combining Images with UIImage & CGContext – (Offscreen drawing)