Swiftpack.co - Package - elegantchaos/Files
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Test results Latest release swift 5.1 shield swift 5.2 shield swift dev shield Platforms: macOS, iOS, tvOS, watchOS, Linux

Swift file handling utilities.

This package supplies two libraries:

Files

Miscellaneous FileManager and URL extensions.

A File/Folder abstraction.

The abstraction in similar to this one by John Sundell, but makes a few different decisions.

It's not as complete yet as that one - I'm just adding things as I need them.

FilesKit

This adds desktop/shell support built on top of the basic Files library.

It requires AppKit/UIKit (depending on the platform you build it for), which is why it's a separate library.

Github

link
Stars: 1

Releases

1.1.4 - 2020-11-16T17:17:37

Added documents folder property. Added icon to FilesKit / AppKit.

1.1.3 - 2020-06-12T18:38:15

Fixed an error that was thrown when copying and the destination didn't already exist.

1.1.2 - 2020-06-12T16:37:14

Fixed default parameters for some methods.

1.1.1 - 2020-06-12T11:59:34

Fixed visibility of some stuff.

1.1.0 - 2020-06-12T11:52:44

Added a new file/folder abstraction, which comes in two flavours: throwing and non-throwing. Currently only contains the bits I need for another project, but I expect it will expand over time.

Similar in style to https://github.com/JohnSundell/Files, although it takes a slightly different approach.

1.0.6 - 2020-06-10T12:50:34

Added beginnings of a file/folder abstraction.

1.0.5 - 2020-05-20T11:18:16

Moved directory stuff. Implemented stubs for security stuff on tvOS.

1.0.4 - 2020-04-01T21:33:36

Fixed Linux build.

1.0.3 - 2020-04-01T13:25:56

Renamed as Files. Added FIleManager extensions.

1.0.2 - 2020-03-10T13:35:42

Made security API visible on tvOS. It doesn't do anything, but you can call it from shared code.

1.0.1 - 2020-03-06T16:34:50

Tests working.