So basically i what i am trying to do is getting all the file names in a folder and put the Data in a UITableView, UIPickerView or Whatever you guys can code..
Read Dir (Get Filenames):
NSFileManager *fileManager = [[NSFileManager alloc] init];
NSArray *files = [fileManager contentsOfDirectoryAtPath:@"/Library/PreferenceLoader/Preferences/" error:nil];
NSString *Apps_Listed = [files description];
[Apps_List setText:Apps_Listed];
the Apps_List is a UITextView and the result is:
( "CallBarPreferences.plist", "KillBackgroundPreferences.plist", "PulltoRefreshMailSettings.plist", "doubleAtSettings.plist" )
What i need 2 do whith this result is put each " " in a UITableViewCell or UIPickerView, the only problem is i dont know how to make any of those work, been searching online 4 a while now, but cant seem to find a short and easy code that simply displays data ! ...
Hope someone can help me out here, please leave some code 4 me 2 work with.. Thanks.