Does anyone have an example of using NSFileCoordinator to access files under iCloud regimen?
Increasingly, simply trying to open or examine a file , when iCloud has been at it, can cause blocking.
Apple says use FileCoordinator to do it asynchronously, which I confess sounds hideous, but I need to give it a try
(Apple will not allow files to be excluded from iCloud, and the low-key workaround/speedup is to turn off Internet access for a while. This is not great/acceptable)
Only thing I can think of is using MBS plugins but I’ll admit I’ve NOT had to do this with any of my software
TBH I usually grab/read MBS Docs and also read Apples as Apples tends to be more readable
You might even find examples from Apple
Sadly, nothing I can make sense of. I’ll probably have to find a 12 year old to assist.
I tried to watch a Youtube video which enthused that using NSFileController makes everything easy, while at the same time explaining nothing.
I confess I have an allergy to function names that are longer than 15 characters.
By the time a document wants me to use something like
DidExamineTheUndersideOfCrockeryAfterWashingTheDishesWhileListeningToTheRadio I despair.
What I clearly need is :
OpenFileButDontLockProcessesWhileYouGetACopyFromiCloud
2 Likes
Yes Apple style is long names that try to encapsulate the entire explanation in the name
Turn those into MBS functions in Xojo and they can be very long
1 Like
I’m hoping Christian can come up with a worked example. So far, no responses from anyone who actually uses the functions.