Questions tagged [findersync]

In OS X, the Finder Sync extension point lets you cleanly and safely modify the Finder’s user interface to express file synchronization status and control. Unlike most extension points, Finder Sync does not add features to a host app.

In OS X, the Finder Sync extension point lets you cleanly and safely modify the Finder’s user interface to express file synchronization status and control. Unlike most extension points, Finder Sync does not add features to a host app. With a Finder Sync extension you register one or more folders for the system to monitor. Your Finder Sync extension then sets badges, labels, and contextual menus for any items in the monitored folders. You can also use the extension point’s API to add a toolbar button to the Finder window.

82 questions
11
votes
1 answer

OS X FinderSync 'fails' for /Volumes

I'm creating a simple OS X FinderSync that adds a menu item to the control/right-click menu for all files: [FIFinderSyncController defaultController].directoryURLs = [NSSet setWithObject:[NSURL fileURLWithPath:@"/"]]; It's working great (the menu…
patrick
  • 380
  • 2
  • 14
11
votes
4 answers

Using Security Scoped Bookmark in Finder Sync Extension with App Group UserDefaults

I am getting following error while resolving Security Scoped Bookmark in my finder sync extension. Error Domain=NSCocoaErrorDomain Code=259 "The File couldn't be opened because it isn't in the correct format." and also possibly the related…
Anil Malik
  • 111
  • 5
11
votes
4 answers

Communicate between finder sync extension and XPC

I am working on a Finder Sync Extension for OS X and want to use a background XPC service. I can start in the main app and have it launch the XPC and run correctly but nothing happens when I attempt to access it from the Finder Sync. both the…
utahwithak
  • 6,235
  • 2
  • 40
  • 62
9
votes
2 answers

How to embed a mac app extension in an Electron app?

I'm trying to embed a Finder Sync extension written in Swift in my app written with Electron. How can I manage to make them work together and communicate with each other? I have read the Apple documentation but it only explains how to add a target…
Marco Moschettini
  • 1,555
  • 2
  • 16
  • 26
9
votes
3 answers

How to enable FinderSync Extension in macOS System Preferences

I am integrating FinderSync Extension in my Cocoa Application to show badges in files and folders. Look at the below two scenario: When i run application using FinderSync Extension (like DemoFinderSync) look at the blue popup in the below image, in…
jigs
  • 839
  • 1
  • 6
  • 23
9
votes
2 answers

Read and Write access for FinderSync extension in a sandboxed environment

The scenario The user right-clicks a directory in Finder and finds a custom MenuItem. Clicking that Item will tell my app to open up a window where the user can do his work. When he is finished files need to be written to to the folder he selected…
Enie
  • 649
  • 5
  • 18
7
votes
2 answers

How should Finder Sync Extension and Main App communicate?

My use case: I have a 'MainApp' which does the syncing of files. I would like that 'MainApp' handles all server calls regarding syncing and other REST API calls such as document-sharing, etc. On the other hand, I would have a Finder Sync Extension…
mixtly87
  • 1,675
  • 15
  • 32
7
votes
1 answer

FinderSync: beginObservingDirectoryAtURL is not always called

I'm implementing a Finder Sync extension, and have encountered some weird issues with my FIFinderSync implementation. The callback beginObservingDirectoryAtURL is not always called. Usually, when its not called its for the first or second level…
Mugen
  • 8,301
  • 10
  • 62
  • 140
7
votes
2 answers

Finder Sync: Sender passed to action is different instance of NSMenuItem

I have implemented a Finder Sync extension according to the provided sample given from Apple. After clicking on the newly created contextual menu item the according action sampleAction is executed. Unfortunately the sender passed to the method does…
Joe Inner
  • 1,450
  • 1
  • 10
  • 14
6
votes
3 answers

FinderSync check if extension is selected

I am developing a FinderSync extension and I have some issues in checking if the selection is selecting, or selecting/deselecting the extension. Is there a way to programmatically check if a FinderSync extension is selected in System…
ciprian
  • 175
  • 7
5
votes
1 answer

How to launch Finder Sync Extension on launching the main app?

In my Cocoa application, I have a finder sync extension. On launching the application, my finder sync extension doesn't start automatically. I need to go to System Preferences -> Extensions and enable it. How do i make sure that on launch of my…
Sandeep T D S
  • 481
  • 3
  • 15
5
votes
2 answers

Adding a Sidebar Icon to my FinderSync extension

I'm developing a FinderSync extension based on the following documentation: https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Finder.html I'm failing to add a sidebar icon. I've followed the steps: Created the…
Mugen
  • 8,301
  • 10
  • 62
  • 140
5
votes
2 answers

How to integrate Finder Sync Extensions with Xcode in Cocoa

I want to use Finder Sync Extensions exactly like Dropbox like add toolbar icon and update the badge icons while syncing using Objective C in Xcode. I searched in google a lot but I could not found any sample code related to this. I found only one…
jigs
  • 839
  • 1
  • 6
  • 23
4
votes
0 answers

Issues embedding Finder Sync extension via electron-builder

I have an Electron application that integrates with OS X Finder via a Finder Sync extension. Overall, the application has three parts: Electron application Swift Application FinderSync extension The Electron application is the main entry point. …
Brian
  • 3,571
  • 7
  • 44
  • 70
4
votes
2 answers

Why is my FinderSync extension crashing before it starts?

I get this crash every time my FinderSync extension starts up: Process: My Finder Sync [8364] Path: /Applications/Company/Container.app/Contents/PlugIns/My Finder Sync.appex/Contents/MacOS/My Finder Sync Identifier: …
Ky -
  • 30,724
  • 51
  • 192
  • 308
1
2 3 4 5 6