I'm trying to wrap my head around xCode's file organization - or lack there of. I can do all I wan in project and it looks great with all the "fake" folders and structure. I go look at the file system and boom HUGE mess. I've tried importing files with the Create Folder Reference for any added folder
option checked and that works, kinda. I get the structure I want both in xCode and on the filesystem.
Issues: When I add a file to a folder on the filesystem that is a Folder Reference in xCode, its not in xCode when I go look, not even after reloading the project. Files/Subfolders in a Folder Reference can't be moved around in xCode. When I move them on the filesystem I get red links (can't find the file?) in xCode.
How do I keep a organized project and filesystem? How can I set up a project to just recognize a folder and show its (current and up-to-date) files and subfolders in my project?
Another issue I seem to run into, if I use a Folder Reference and change a file, the file is not updated in my application unless I do a full clean & rebuild. If I don't use a Folder Reference, all my files are dumped into the Resource folder of the application bundle, not in the nice structure I have in my project.
Should I care at all? Should I just use the fake folders and let everything go everywhere and not care? My application bundle will be a mess, the filesystem will be a mess, but it will all work... I would hope?
Edit:
My biggest reason for wanting an organized filesystem is that the resource files (images, sounds, other datafiles, etc.) are not edited in xCode. I have to access them in 3rd party apps via the filesystem. If its a mess things are harder to find and maintain in the other 3rd party applications.
Also what happens if I want a structure like the following:
- Images/Backgrounds/Name.png
- Images/Icons/Name.png
- Images/Titles/Name.png
Should I use long filenames rather than folders to organize?
- Images_Backgrounds_Name.png
- Images_Icons_Name.png
- Images_Titles_Name.png