Odd that NSFileManager returns an empty array if it can’t read the contents of a directory. Expected an error or a delegate method.
@mjtsai I think it returns nil on error with an 'error' out param, but an empty array if there are no contents.
-
-
@command_tab If the directory has contents but there aren’t sufficient permissions to list them, it returns an empty array. -
@mjtsai Oh, I get it. Yeah, you're right, that ain't good...
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Michael Tsai
Collin Allen