I'm trying to sort my files by date, how can I get the result into a table view?
问题 I have a tableview that's is been filled with .csv files from document directory. So far I'm able to get the date and sort them but not sure how to get the result in to an array and then into the tableview . EDIT: i'm able to get it into an array but now when i try to get the files in the table view i got this error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSURL length]: unrecognized selector sent to instance 0x1c00ba040' Code: --data NSMutableArray