Mac Catalyst

Create a version of your iPad app that users can run on a Mac device.

Overview

With Mac Catalyst, you can make a Mac version of your iPad app. Click the Mac checkbox in your iPad app’s project settings to configure the project to build both Mac and iPad versions of your app.

A screenshot of Xcode highlighting the Mac checkbox in the General project settings for an iPad app.

The two apps share the same project and source code, making it easy to change your code in one place.

Topics

Essentials

Creating a Mac Version of Your iPad App

Bring your iPad app to macOS with Mac Catalyst.

User Interface

Displaying a Preferences Window

Let users manage app settings defined in a Settings bundle through a system-provided preferences window.

Toolbar

Provide a space for controls under a window's title bar and above your custom content.

Touch Bar

Display interactive content and controls in the Touch Bar.

User Interaction

class UIHoverGestureRecognizer

A gesture recognizer that looks for pointer movement over a view.

Menus and Shortcuts

Simplify interactions with your app using menu systems, contextual menus, Home screen quick actions, and keyboard shortcuts.

See Also

App Structure

App and Environment

Manage life-cycle events and your app’s UI scenes, and get information about traits and the environment in which your app runs.

Documents, Data, and Pasteboard

Organize your app's data and share that data on the pasteboard.

Resource Management

Manage the images, strings, storyboards, and nib files that you use to implement your app's interface.

App Extensions

Extend your app's basic functionality to other parts of the system.

Inter-Process Communication

Share data through Handoff, support universal links into your app's content, and display activity-based services to the user.