Are the folders actual folders? Or symlinks?
toggle quoted messageShow quoted text
What OS, SDK, etc?
On Jun 6, 2019, at 07:06, Dave <email@example.com> wrote:
As I said,
myExistsFlag and myFolderFlag are set to YES.
So the folder exists, I copied and pasted the Path from the finder. Also I've tried it on a number of different folders and it still doesn’t work. There are definitely files present in the folders I’ve tried.
On 6 Jun 2019, at 12:27, Sak Wathanasin <firstname.lastname@example.org> wrote:In the code you posted, there was no check for the value of myFolderFlag
Can anyone spot the problem
on return from fileExistsAtPath:, so are you sure it's a directory? Doc
for enumeratorAtPath: says:
An NSDirectoryEnumerator object that enumerates the contents of the
directory at path.
If path is a filename, the method returns an enumerator object that
enumerates no filesthe first call to nextObject will return nil."
Network Analysis Ltd
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#972): https://apple-dev.groups.io/g/cocoa/message/972
Mute This Topic: https://groups.io/mt/31949180/342607
Group Owner: email@example.com
Unsubscribe: https://apple-dev.groups.io/g/cocoa/leave/defanged [firstname.lastname@example.org]