Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding multiple resources with the same name to Xcode for iPhone

Is it possible to use double names for images into the resource group?

Thanks :)

like image 869
Flappy Avatar asked Sep 11 '10 19:09

Flappy


1 Answers

You can have multiple resources with the same name as long as (1) they are not in the same directory, and (2) You've added the resources to your Xcode project by reference.

(1) because no directory can contain two files with the same name

(2) because Xcode respects directory structures for directories added by reference (if you add it directly to the project, Xcode tosses everything into the root level of the application bundle)

like image 165
Shaggy Frog Avatar answered Sep 20 '22 00:09

Shaggy Frog