Swiftpack.co -  elegantchaos/Files as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
elegantchaos/Files
Some extra bits for Swift Foundation's URL class.
.package(url: "https://github.com/elegantchaos/Files.git", from: "v1.2.2")

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

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
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

1.2
32 weeks ago

Added convenience methods for default ThrowingManager, default file/folder from url. Added methods to convert to/from throwing/non-throwing.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics