|Apr 7, 2009, 06:35 AM||#1|
file and directory structure
I am needed to acess files inside a folder structure
Is there a way I can pre create the folder structure and put files in there ? I mean to say when my application runs the file and folder structure is ready. I dont want to programmatically to create folders.
for ex.. say I create files/images/a.png in xcode group. I wanna access image by files/images/a.png , can that be done and tested in xcode simulator ?
|Apr 7, 2009, 09:52 AM||#2|
Not entirely sure I understand your question but I'll have a go.
If you have a directory structure on disk and you want to keep that structure in Xcode, just drag the folder in and make sure "Recursively create groups..." is selected.
To access images programmatically from Xcode, you can use:
UIIMage *yourImage = [UIImage imageNamed:@"a.png"];
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Lost all desktop files and directories!||musu||OS X||3||Jun 11, 2011 02:53 PM|
|How many files and directories are installed through Cydia on your phone?||F123D||Jailbreaks and iOS Hacks||2||Nov 1, 2010 03:46 PM|
|List of all files and directories on iPhone OS 3.0||DipDog3||iPhone/iPad Programming||0||Apr 11, 2009 12:30 PM|
|[solved] copying files and preserving directory structure (unix)||zimv20||Mac Programming||2||Jun 11, 2007 11:08 PM|
|Searching for files vs. Directory Structure?||cayley||OS X||7||Apr 3, 2007 01:55 PM|
All times are GMT -5. The time now is 06:57 PM.