<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/launchoptions-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated symbols"
}
-->

# Deprecated symbols

Review symbols that are no longer in active development, and their recommended replacements.

## Overview

Although these symbols are available for use, Apple is no longer actively developing them, and may remove them in a future release. Apple recommends moving away from these symbols and using their indicated replacements instead. Check the individual symbol pages for the recommended replacements.

## Topics

### Deprecated symbols

[`static var andPrint: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/andPrint)

Print items instead of opening them.

[`static var withErrorPresentation: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/withErrorPresentation)

Display an error panel to the user if a failure occurs.

[`static var inhibitingBackgroundOnly: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/inhibitingBackgroundOnly)

Causes launch to fail if the target is background-only.

[`static var withoutAddingToRecents: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/withoutAddingToRecents)

Do not add the app or documents to the Recents menu.

[`static var withoutActivation: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/withoutActivation)

Launch the app but do not bring it into the foreground.

[`static var async: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/async)

Launch the app and return the results asynchronously.

[`static var allowingClassicStartup: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/allowingClassicStartup)

Start up the Classic compatibility environment, if it is required by the app.

[`static var preferringClassic: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/preferringClassic)

Force the app to launch in the Classic compatibility environment.

[`static var newInstance: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/newInstance)

Create a new instance of the app, even if one is already running.

[`static var andHide: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/andHide)

Tell the app to hide itself as soon as it finishes launching.

[`static var andHideOthers: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/andHideOthers)

Hide all apps except the newly launched one.

[`static var `default`: NSWorkspace.LaunchOptions`](/documentation/AppKit/NSWorkspace/LaunchOptions/default)

Launch the app asynchronously and launch it in the Classic environment, if required.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)