Featured post
iphone - Using resources with the same name in Xcode -
is there way add multiple resources same name xcode project , have 1 of them take priority on others?
example: added 2 files, both called icon.png, xcode project. on different folders in file system (folder1/icon.png , folder2/icon.png) , on different groups in xcode. there way tell xcode have folder2/icon.png take priority on folder1/icon.png? , if 1 icon.png exists, use one.
thanks.
edit (2010-12-23):
you can have multiple files same name in xcode project if not in separate folder references, in separate groups. once compiled, app bundle (which flat no folders in it), have 1 copy of file (icon.png). how pick copy of file use?
i told can blackberry. works this: compiler go down list of files in project , start adding them app bundle. if sees duplicate, overwrite (or not), files @ bottom (or @ top) have higher precedence , final bundle.
this can better solved using folders within resource bundle in xcode project. take here: http://developer.apple.com/library/mac/#documentation/corefoundation/conceptual/cfbundles/introduction/introduction.html
- Get link
- X
- Other Apps
Comments
Post a Comment