Use Mac



Extend or mirror your Mac desktop with Sidecar

  1. Use Mac Pro
  2. Use Macbook
  3. Use Mac Computers

How to Establish an Apple Identity on a Mac. When you first turn on your Mac (or install an upgrade to the operating system), a series of questions and prompts appear, including a prompt to sign in to your Apple ID account or create a new Apple ID. An Apple ID identifies you and your devices in all things Apple that you do: registering new. Jul 10, 2020. Testing conducted by Apple in April 2020 using preproduction 2.3GHz quad-core Intel Core i7-based 13-inch MacBook Pro systems with Intel Iris Plus Graphics, 32GB of RAM, and 4TB SSD, as well as shipping 2.8GHz quad-core Intel Core i7-based 13-inch MacBook Pro systems with Intel Iris Plus Graphics 655, 16GB of RAM, and 2TB SSD. Oct 19, 2019. In use, the fact is that Apple’s most affordable Mac betrays how little the company cares for value-conscious customers — even though the little device helped it grab a nice chunk of PC market.

  1. Make sure that your Mac and iPad meet the Sidecar system requirements.
  2. You can use Sidecar wirelessly, but to keep your iPad charged during use, connect it directly to your Mac with the USB charge cable that came with your iPad.
  3. Click the AirPlay icon in the menu bar on your Mac, then choose the option to connect to your iPad. Or use Sidecar preferences to connect.
    If you don't see the AirPlay icon, choose Apple menu  > System Preferences, click Displays, then make sure that ”Show mirroring options in the menu bar when available” is selected.
  4. Your iPad should now show an extension of your Mac desktop. You can move windows to it and use it like any other display.
  5. To mirror your Mac display so that both screens show the same content, return to the AirPlay menu, which is a blue rectangle while using Sidecar. Choose the option to mirror your display. This is a great way to share your Mac screen with others.
  6. To end your Sidecar session, return to the AirPlay menu and choose the option to disconnect. Or click the Disconnect button in the sidebar on your iPad.

Learn more about using external displays. For example, you can use Displays preferences to arrange displays so that your iPad extends the left, right, top, or bottom of your desktop.

Move a window to your iPad display

If you hover your pointer over the full-screen button of a window, you can choose to move that window to or from your iPad display. It's faster than dragging the window, and the window is perfectly resized for your display.

The sidebar puts commonly used controls on the side of your iPad screen. It includes Command, Shift, and other modifier keys, so you can choose essential commands with your finger or Apple Pencil instead of a keyboard.

Use Sidecar preferences to turn off the sidebar or change its position.


Tap to show or hide the menu bar when viewing a window in full screen on iPad.

Command. Touch and hold to set the Command key. Double-tap to lock the key.

Option. Touch and hold to set the Option key. Double-tap to lock the key.

Control. Touch and hold to set the Control key. Double-tap to lock the key.

Shift. Touch and hold to set the Shift key. Double-tap to lock the key.

Undo the last action. Some apps support multiple undos.

Use the Touch Bar

Many apps on Mac have Touch Bar controls that make common actions even easier. With Sidecar, you get a Touch Bar on your iPad screen even if your Mac doesn’t have a Touch Bar. It works just like the Touch Bar on Mac, and you can tap its controls with either your finger or Apple Pencil.

Use Sidecar preferences to turn off the Touch Bar or change its position.

If the Touch Bar doesn't appear when using an app that offers Touch Bar controls, choose Apple menu  > System Preferences, click Mission Control, then make sure that “Displays have separate Spaces” is selected.

Use gestures for scrolling and other actions

Use

Multi-Touch gestures on iPad remain available when using Sidecar. These gestures are particularly useful with Sidecar:

  • Scroll: Swipe with two fingers.
  • Copy: Pinch in with three fingers.
  • Cut: Pinch in with three fingers twice.
  • Paste: Pinch out with three fingers.
  • Undo: Swipe left with three fingers, or double-tap with three fingers.
  • Redo: Swipe right with three fingers.

Use Apple Pencil

To point, click, select, and perform tasks such as drawing, editing photos, and manipulating objects on your iPad while it's extending or mirroring your Mac display, you can use your Apple Pencil instead of the mouse or trackpad connected to your Mac. You can also use it to write, sketch, and mark up documents while seeing the updates live on your Mac.

Sidecar also supports double-tap, which you can turn on in Sidecar preferences. Double-tap enables apps that support this feature to perform custom actions when you double-tap on the side of your Apple Pencil (2nd generation).

Use a keyboard, mouse, or trackpad

During your Sidecar session, you can type using a keyboard connected to either your Mac or iPad, including the Smart Keyboard or Magic Keyboard for iPad.

To point, click, or select with a mouse or trackpad, use the mouse or trackpad connected to your Mac, or use an Apple Pencil on your iPad.

Use iPad apps

While using Sidecar, you can switch to an iPad app, then interact with that app on your iPad as you normally would. This suspends your Sidecar session until you switch back to the Sidecar app or disconnect Sidecar. The Sidecar app appears on your home screen only while using Sidecar.


Use Sidecar preferences

Choose Apple menu  > System Preferences, then click Sidecar. These preferences are available only on computers that support Sidecar.


  • Show Sidebar: Show the sidebar on the left or right side of your iPad screen, or turn it off.
  • Show Touch Bar: Show the Touch Bar on the bottom or top of your iPad screen, or turn it off.
  • Enable double tap on Apple Pencil: Allow apps that support this feature to perform custom actions when you double-tap on the side of your Apple Pencil (2nd generation).
  • Connect to: Choose an iPad to connect to, or click Disconnect to stop using Sidecar.

Sidecar system requirements

Sidecar requires a compatible Mac using macOS Catalina and a compatible iPad using iPadOS 13:

Mac using macOS Catalina

  • MacBook Pro introduced in 2016 or later
  • MacBook introduced in 2016 or later
  • MacBook Air introduced in 2018 or later
  • iMac introduced in 2017 or later, plus iMac (Retina 5K, 27-inch, Late 2015)
  • iMac Pro
  • Mac mini introduced in 2018 or later
  • Mac Pro introduced in 2019

iPad using iPadOS 13

  • iPad Pro: all models
  • iPad (6th generation) or later
  • iPad mini (5th generation)
  • iPad Air (3rd generation)

Additional requirements

  • Both devices must be signed in to iCloud with the same Apple ID using two-factor authentication.
  • To use Sidecar wirelessly, both devices must be within 10 meters (30 feet) of each other and have Bluetooth, Wi-Fi, and Handoff turned on. Also make sure that the iPad is not sharing its cellular connection and the Mac is not sharing its Internet connection.
  • To use Sidecar over USB, make sure that your iPad is set to trust your Mac.

Learn more

  • Resolve Wi-Fi and Bluetooth issues caused by wireless interference, which can affect Sidecar performance when using Sidecar wirelessly.
Author

Bob Savage <bobsavage@mac.com>

Python on a Macintosh running Mac OS X is in principle very similar to Python onany other Unix platform, but there are a number of additional features such asthe IDE and the Package Manager that are worth pointing out.

4.1. Getting and Installing MacPython¶

Mac OS X 10.8 comes with Python 2.7 pre-installed by Apple. If you wish, youare invited to install the most recent version of Python 3 from the Pythonwebsite (https://www.python.org). A current “universal binary” build of Python,which runs natively on the Mac’s new Intel and legacy PPC CPU’s, is availablethere.

What you get after installing is a number of things:

  • A Python3.9 folder in your Applications folder. In hereyou find IDLE, the development environment that is a standard part of officialPython distributions; and PythonLauncher, which handles double-clicking Pythonscripts from the Finder.

  • A framework /Library/Frameworks/Python.framework, which includes thePython executable and libraries. The installer adds this location to your shellpath. To uninstall MacPython, you can simply remove these three things. Asymlink to the Python executable is placed in /usr/local/bin/.

Use Mac Pro

The Apple-provided build of Python is installed in/System/Library/Frameworks/Python.framework and /usr/bin/python,respectively. You should never modify or delete these, as they areApple-controlled and are used by Apple- or third-party software. Remember thatif you choose to install a newer Python version from python.org, you will havetwo different but functional Python installations on your computer, so it willbe important that your paths and usages are consistent with what you want to do.

IDLE includes a help menu that allows you to access Python documentation. If youare completely new to Python you should start reading the tutorial introductionin that document.

If you are familiar with Python on other Unix platforms you should read thesection on running Python scripts from the Unix shell.

4.1.1. How to run a Python script¶

Your best way to get started with Python on Mac OS X is through the IDLEintegrated development environment, see section The IDE and use the Help menuwhen the IDE is running.

If you want to run Python scripts from the Terminal window command line or fromthe Finder you first need an editor to create your script. Mac OS X comes with anumber of standard Unix command line editors, vim andemacs among them. If you want a more Mac-like editor,BBEdit or TextWrangler from Bare Bones Software (seehttp://www.barebones.com/products/bbedit/index.html) are good choices, as isTextMate (see https://macromates.com/). Other editors includeGvim (http://macvim-dev.github.io/macvim/) and Aquamacs(http://aquamacs.org/).

To run your script from the Terminal window you must make sure that/usr/local/bin is in your shell search path.

To run your script from the Finder you have two options:

  • Drag it to PythonLauncher

  • Select PythonLauncher as the default application to open yourscript (or any .py script) through the finder Info window and double-click it.PythonLauncher has various preferences to control how your script islaunched. Option-dragging allows you to change these for one invocation, or useits Preferences menu to change things globally.

4.1.2. Running scripts with a GUI¶

With older versions of Python, there is one Mac OS X quirk that you need to beaware of: programs that talk to the Aqua window manager (in other words,anything that has a GUI) need to be run in a special way. Use pythonwinstead of python to start such scripts.

With Python 3.9, you can use either python or pythonw.

4.1.3. Configuration¶

Python on OS X honors all standard Unix environment variables such asPYTHONPATH, but setting these variables for programs started from theFinder is non-standard as the Finder does not read your .profile or.cshrc at startup. You need to create a file~/.MacOSX/environment.plist. See Apple’s Technical Document QA1067 fordetails.

For more information on installation Python packages in MacPython, see sectionInstalling Additional Python Packages.

4.2. The IDE¶

MacPython ships with the standard IDLE development environment. A goodintroduction to using IDLE can be found athttp://www.hashcollision.org/hkn/python/idle_intro/index.html.

4.3. Installing Additional Python Packages¶

There are several methods to install additional Python packages:

  • Packages can be installed via the standard Python distutils mode (pythonsetup.pyinstall).

  • Many packages can also be installed via the setuptools extensionor pip wrapper, see https://pip.pypa.io/.

4.4. GUI Programming on the Mac¶

There are several options for building GUI applications on the Mac with Python.

PyObjC is a Python binding to Apple’s Objective-C/Cocoa framework, which isthe foundation of most modern Mac development. Information on PyObjC isavailable from https://pypi.org/project/pyobjc/.

The standard Python GUI toolkit is tkinter, based on the cross-platformTk toolkit (https://www.tcl.tk). An Aqua-native version of Tk is bundled with OSX by Apple, and the latest version can be downloaded and installed fromhttps://www.activestate.com; it can also be built from source.

wxPython is another popular cross-platform GUI toolkit that runs natively onMac OS X. Packages and documentation are available from https://www.wxpython.org.

PyQt is another popular cross-platform GUI toolkit that runs natively on MacOS X. More information can be found athttps://riverbankcomputing.com/software/pyqt/intro.

4.5. Distributing Python Applications on the Mac¶

The standard tool for deploying standalone Python applications on the Mac ispy2app. More information on installing and using py2app can be foundat http://undefined.org/python/#py2app.

4.6. Other Resources¶

Use Macbook

The MacPython mailing list is an excellent support resource for Python users anddevelopers on the Mac:

Use Mac Computers

Another useful resource is the MacPython wiki: