Re: iphone and images issues
Re: iphone and images issues
- Subject: Re: iphone and images issues
- From: Emmanuel Pinault <email@hidden>
- Date: Sat, 7 Feb 2009 18:07:47 -0800
Thanks ! I ll take a look. I am more concerned with number of file in
the same nodes (io-node) rather than collision name
But I guess I can use the flat structure for now. Just was surprised
at first and thought I was doing something wrong.
Thanks
Emmanuel
On Feb 7, 2009, at 5:29 PM, Robert Marini wrote:
You can create a more organized resource structure on your local
filesystem for development by creating groups in Xcode and changing
the path to them (seen here - http://www.quicksnapper.com/wisequark/image/untitled-0039)
but when the time arrives to build the application bundle, they'll
be copied over into a flat structure as part of the Copy Resources
build phase. This is fairly standard behavior and while it's
possible to work around it by using custom build phases (copy
files), depending on what you want to do with the resource it
generally isn't worth the effort (and has the potential to break
things).
If you're concerned about filename collisions, prefix your filenames.
-rob.
On Feb 7, 2009, at 8:19 PM, Sherm Pendley wrote:
On Feb 7, 2009, at 8:10 PM, Emmanuel Pinault wrote:
So I dragged and dropped an image folder into my iphone app under
the ressources. I specified to copy it.
Now when I build the application, it seems that apple underlying
just put all the file in a flat structure.
If you don't want the folder structure to be flattened, choose the
"Create Folder References" option instead of the "Recursively
create groups" option when you add the folder to your project in
Xcode.
sherm--
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
@gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden