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