Listing documents directory contents in UITableView

Posted by user1493543 on Stack Overflow See other posts from Stack Overflow or by user1493543
Published on 2012-06-30T21:02:32Z Indexed on 2012/06/30 21:16 UTC
Read the original article Hit count: 139

Filed under:
|
|
|
|

So I've researched extensively on how to list the files in the documents directory in a table view and after much deliberation, came up with this code. Whenever I run this, the app crashes with EXEC_BAD_ACCESS. I've been busting my head for hours, so any help would be appreciated.

All I'm doing is acquiring the files in the documents directory and trying to list them in a table view...

Code is pasted in link below.

http://pastie.org/4178767

Edit- App crashes in numberOfRowsInSection: method.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c