FileKit v1.7.0 Release Notes

Release Date: 2015-10-10 // over 8 years ago
  • 🚀 Release Notes

    🔄 Changes

    • 0️⃣ 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)