On Oct 22, 2016, at 10:43 , Jean Suisse <[email protected]> wrote:
> 
>       while let file = enumerator?.nextObject() as? URL       // 
> EXC_BAD_INSTRUCTION HERE 

You left out the line that defines “enumerator”.

Incidentally, you have this:

>       let directoryURL = URL(fileURLWithPath: "/.DocumentRevisions-V100/“)

Accessing this directory seems like a very bad idea. It’s an incredibly private 
implementation detail of the document versioning system. There’s likely nothing 
in there that you can usefully access.

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to