I have a folder and inside that, few files. How can i get that files without using any UI classes?
The small eg given below will make question more clearer:
Suppose in my home folder, there is a folder Printers, inside that there are three folders Printer1, Printer2, Printer3. Now inside each subfolder there is xml file like printer1.xml inside printer1 folder, printer2.xml inside printer2 folder, printer3.xml inside printer3 folder. I have to browse through the folders and store the path to printer3.xml in a variable (of type NSString).
Please suggest me the ways to do that..
You might want to use NSFileManager and related classes..This tutorial might be useful too..