Post

Replies

Boosts

Views

Activity

Comment on Unexpected changed of displayName and how to change it?
Hi clenart, Thanks for the replay! However the situation is a little different. I did call addDomain with the right displayname, and finder showed the right displayname too. But some times its being changed to somewhat value that I provided (empty or other value) when I constructing another NSFileProviderManager object that is used to do other operations but not addDomain. Is it possible that displayname can be changed in other ways beside addDomain? Thanks.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’22
Comment on FileProvider fails to trigger re-enumeration
Hello @clenart. Thanks for your reply to clear some mysteries of NSFileProviderReplicatedExtension. I have some additional questions related this question , hoping you can help to provide some tips. When calling signalEnumerator with the .workingSet identifier. by observing, I notice that enumerateChanges of workingSet enumerator are called. The question what item should I pass to didUpdate or didDeleteItems. For example. when a new file F1 created in folder Dir1, should I update F1, Dir1 or both? Are there more detail documents that I can reference to? The second question is when will the system call currentSyncAnchor? Thank you. B.R. Jack
May ’22