tombenner/nui — pull request #145 by aschiffhauer (2013-07-28 05:39:06+00:00)
Title: Support for -568h@2x images.  Moved strayed frameworks into the Frameworks group for the demo project.

### Background

`- (UIImage *)imageNamed:(NSString *)name` natively searches for @2x files on retina devices; however, this method does not search for associated `-568h@2x` files on iPhone 5.

### Problem
NUI does not load `-568h@2x` files on iPhone 5 when they present.

### Solution
I have edited `+ (UIImage*)toImageFromImageName:(NSString*)value` to search for `-568h@2x` files on iPhone 5. If a `-568h@2x` variant is found, it is returned; otherwise, the value from `- (UIImage *)imageNamed:(NSString *)name` is returned.

### Notes
I opted for a small solution that is non-obtrusive and easy to understand. It is less performant than a more complex solution that I can provide, if necessary. The more complex solution will at least require one class extension or proxy.