Skip to content

v1.7.0

Choose a tag to compare

@nvzqz nvzqz released this 10 Oct 19:06
· 213 commits to master since this release

Release Notes

Changes

  • The file manager for FKPath instances is now defined by FKPath.FileManager, which is set to NSFileManager.defaultManager() by default
  • NSDictionary, NSArray, and NSData now conform to FKWritableToFile

New Features

  • message property for FKError that improves error logging
  • FKPath now works with bookmark data
  • FKArrayFile and FKDataFile for NSArray and NSData respectively
  • FKReadableFromFile and FKWritableToFile protocols
  • FKWritableConvertible protocol with writable property to make the conforming type FKWritable
  • Static function FKPath.Volumes(_:) that returns an FKPath array of all mounted volumes
  • touch(_:) method for FKPath that creates a file at the path if it doesn't exist or updates the modification date
  • Properties for checking if the current process has certain privileges for an FKPath (isWritable, isReadable, isExecutable, isDeletable)