A aneuryzma macrumors newbie Original poster May 9, 2011 21 0 May 22, 2011 #1 How can I load all files from a specific folder with iOS ? (They are images) thanks
jnoxx macrumors 65816 Dec 29, 2010 1,343 0 Aartselaar // Antwerp // Belgium May 22, 2011 #2 ... Load from where, to where, in your app, in xcode? u downloaded them over data to your documents directy? your not really giving us much to go on.
... Load from where, to where, in your app, in xcode? u downloaded them over data to your documents directy? your not really giving us much to go on.
A aneuryzma macrumors newbie Original poster May 9, 2011 21 0 May 22, 2011 #3 Yes, I need to know how to add them to the "Products" group and not other folders because I need to load them from my code in runtime And of course I need to know the code to load all files from a folder name, and not just a file given the filename Last edited by a moderator: May 22, 2011
Yes, I need to know how to add them to the "Products" group and not other folders because I need to load them from my code in runtime And of course I need to know the code to load all files from a folder name, and not just a file given the filename
chown33 Moderator Staff member Aug 9, 2009 11,447 9,677 A sea of green May 22, 2011 #4 Use the NSFileManager class. It has several methods for Discovering Directory Contents. contentsOfDirectoryAtxxx and enumeratorAtxxx are only two of the naming patterns.
Use the NSFileManager class. It has several methods for Discovering Directory Contents. contentsOfDirectoryAtxxx and enumeratorAtxxx are only two of the naming patterns.