|
|
||
|---|---|---|
| .github/workflows | ||
| Sources | ||
| Tests | ||
| .gitignore | ||
| .swift-version | ||
| .swiftformat | ||
| LICENSE | ||
| NextcloudFileProviderKit.png | ||
| NextcloudFileProviderKit.pxd | ||
| NextcloudFileProviderKit.svg | ||
| Package.swift | ||
| README.md | ||
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.