On Oct 22, 2016, at 10:43 , Jean Suisse <jean.li...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to