|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|
|Old G4 with iTunes - file structure||diane143||Mac Applications and Mac App Store||1||Feb 18, 2014 05:50 AM|
|fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory||xpmrz||Mac Basics and Help||0||Dec 31, 2013 02:59 PM|
|Copying only a certain file type, retaining directory structure||uncleMonty||OS X||7||Mar 29, 2013 12:06 PM|
|-Bash No such file or directory||os ck||Mac Basics and Help||0||Jan 14, 2013 09:21 AM|
|Unknown file in home directory||SisterRay||OS X 10.8 Mountain Lion||9||Aug 31, 2012 12:34 PM|
All times are GMT -5. The time now is 11:08 AM.