No description
Find a file
Iva Horn 62a7b4ae35 chore: Changed casting switch in unified logging implementation.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-23 16:53:30 +02:00
.github/workflows feat: Introduced SwiftFormat. 2025-10-16 16:03:59 +02:00
Sources chore: Changed casting switch in unified logging implementation. 2025-10-23 16:53:30 +02:00
Tests fix(swiftformat): Enforced omission of trailing commas. 2025-10-20 09:53:10 +02:00
.gitignore fix: Added Package.resolved to .gitignore 2025-07-17 14:23:10 +02:00
.swift-version feat: Introduced SwiftFormat. 2025-10-16 16:03:59 +02:00
.swiftformat fix(swiftformat): Enforced omission of trailing commas. 2025-10-20 09:53:10 +02:00
LICENSE Add LICENSE 2024-04-15 16:09:24 +08:00
NextcloudFileProviderKit.png Added logo to README as existent in NextcloudKit and SwiftNextcloudUI packages. 2025-07-11 09:59:29 +02:00
NextcloudFileProviderKit.pxd Added logo to README as existent in NextcloudKit and SwiftNextcloudUI packages. 2025-07-11 09:59:29 +02:00
NextcloudFileProviderKit.svg Added logo to README as existent in NextcloudKit and SwiftNextcloudUI packages. 2025-07-11 09:59:29 +02:00
Package.swift fix(swiftformat): Enforced omission of trailing commas. 2025-10-20 09:53:10 +02:00
README.md feat: Introduced SwiftFormat. 2025-10-16 16:03:59 +02:00

Logo of NextcloudFileProviderKit

NextcloudFileProviderKit

NextcloudFileProviderKit is a Swift package designed to simplify the development of Nextcloud synchronization applications on Apple devices using the File Provider Framework. This package provides the core functionality for virtual files in the macOS Nextcloud client, making it easier for developers to integrate Nextcloud syncing capabilities into their applications.

NextcloudFileProviderKit depends on NextcloudKit to communicate with the server.

Features

  • Easy Integration: Seamlessly integrate Nextcloud syncing into your Apple applications using the FileProvider API.
  • Core Functionality: Provides the essential features needed for handling virtual files, including fetching contents, creating, modifying, and deleting items.
  • macOS Support: Used as the core functionality package for virtual files in the macOS Nextcloud client.

Installation

To install NextcloudFileProviderKit, add the following to your Package.swift:

dependencies: [
    .package(url: "https://github.com/nextcloud/NextcloudFileProviderKit.git", from: "1.0.0")
]

Usage

This section has been removed due to being out of dated and frequent changes to the code. As a reference, you can have a look at this Xcode project in the Nextcloud desktop client. There are also plans to make this package more self-contained than it currently is and some code will be migrated from the other project to this one.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you encounter any problems or have suggestions for improvements.

Code Style

SwiftFormat was introduced into this project. Before submitting a pull request, please ensure that your code changes comply with the currently configured code style. You can run the following command in the root of the package repository clone:

swift package plugin --allow-writing-to-package-directory swiftformat --verbose --cache ignore --swift-version 5.9

License

This project is licensed under the LGPLv3 License. See the LICENSE file for more details.