For instance I have image great\_image.png and great\_image@2x.png for retina display.
If I want to create UIImage in code I just write:

```
UIImage *image = [UIImage imageNamed:@"great_image"];

```

But if I create UIImageView in xib and I want to set image in xib, I need to write image name.
What should I write: `"great_image.png" or "great_image@2x.png" or "great_image"` ? (because if I write "great\_image", I will not see image in xib).

**Update:
the second part of question:**

What if I only have great\_image@2x.png and don't have great\_image.png, should I write great\_image.png in xib anyway?