nsfilecoordinator Questions
1
It seems that NSFileCoordinator, despite being a pretty important class, has not been given any Swiftification. It has not been given any async alternative; you have to provide a completion handler...
Albanian asked 18/9, 2022 at 15:45
2
Solved
I'm writing a small macOS app, where I want to be able to watch a folder for changes. It doesn't need to watch subfolder, I only want to receive a notification if a file is added to the folder or r...
Horticulture asked 20/5, 2018 at 21:43
1
Solved
I have an iOS app that is trying to read files from an external storage device without importing them into the App's sandbox.
I have followed Apple's documentations outlined here to do this --
Pr...
Retarded asked 3/3, 2020 at 0:54
0
I'm trying to download the files contained in a folder hierarchy picked by the UIDocumentPickerController. I use the URL I get from documentPicker:DidPickDocumentsAtURLs: with an NSFileCoordinator....
Parol asked 30/3, 2018 at 14:8
0
I have a todo list app that stores document in iCloud as UIDocument object. The following function in the table view controller is created to delete a todo list item both locally and remotely in iC...
Slab asked 6/5, 2017 at 13:41
2
I'm trying to write a simple (toy) program that uses the NSFilePresenter and NSFileCoordinator methods to watch a file for changes.
The program consists of a text view that loads a (hardcoded) tex...
Merocrine asked 27/3, 2013 at 22:26
2
Solved
I have an object which conforms to NSFilePresenter protocol that represents my document-based application document package. When a new file is created inside the package, either programmatically us...
Supermarket asked 12/9, 2012 at 13:49
2
I'm setting up NSFileCoordinator and NSFilePresenter in my app so I can do file IO from my AppleWatch app safely. There are some places in my code where I write to a file a couple of times in quick...
Tarkany asked 16/4, 2015 at 15:15
0
I've fully implemented the NSFilePresenter protocol using NSFileCoordinator to track external changes made to an imported folder/file tree. And it generally works.
However, I'm still a bit confuse...
Shirty asked 7/1, 2015 at 6:55
0
I have a lot of troubles porting my sqlite code to the App Store due to the way sqlite executes transactions (using wal or journal files). Relevant part from Apple Documentation is:
Your app nee...
Contrabandist asked 25/3, 2013 at 11:29
1
when writing a file using NSFileCoordinator i need to specify the correct NSFileCoordinatorWritingOptions. Although they are explained in detail, I am not sure when to use which one. The available ...
Enki asked 3/8, 2012 at 9:29
1
© 2022 - 2024 — McMap. All rights reserved.