MacOS File and Custom URL Scheme Associations

This is an old revision of MacOS File and Custom URL Scheme Associations, edited by Trev at . The current revision is 137794.

More macOS content - work in progress :-

This article applies to macOS only.

See also: Multiplatform Programming Guide

Work in progress...

Overview

macOS does not have a central registry like Windows to which applications explicitly write information. Instead, every application with a graphical interface has a property list file named Info.plist, roughly equivalent to a manifest in the Windows world, stored in its application bundle. The Info.plist file (optionally) includes file type association and custom URL scheme information.

macOS Launch Services is an API that enables a running application to open other applications or their document files in a way similar to the Finder or the Dock. Using Launch Services, an application can perform such tasks as:

Launch Services automatically registers an application with the database the first time the application becomes known to the system. This can occur when:

When you open a document or URL, Launch Services is used to determine which application should open the item. Launch Services uses the following specific order:

To Be Continued ...

See also