Open IgorMuzyka opened 6 years ago
I'm sure i can just use this as path "~/Library/Mobile Documents/com~apple~CloudDocs/"
and asking a user for access to this directory. But was interested if maybe there is a better way?
I think there is no utility method to do it in FileKit
We could add it by using https://developer.apple.com/documentation/foundation/filemanager/1411653-url
extension Path {
public init?(ubiquityContainerIdentifier: URL) {
// call the method with guar
init(url: xxxx)
}
}
If yes then what the path that should be used and what changes are required for xcode project to support icloud on macOS