Port iPad Apps to Mac with Xcode 11 Effortlessly

by Jun 25, 2019#iOS, #FrontPage, #News

Printer Icon
P

Have you ever said: “this iPad App would be great on the Mac”?

Before Xcode 11, the only way to accomplish that was to have two separate code bases, one for iPad, and one for Mac. This came with its entire set of issues to maintain, and expand your app.

Now, you can bring your existing iPad App to the Mac, sharing the same project and source code delivering your app to an audience of over 100,000,000 Mac users.

First you will need to make sure your app is a good candidate. If your app’s essential features require iPad capabilities like gyroscope, accelerometer or rear camera, iOS frameworks like HealthKit or ARKit it might not be suited for the Mac.

To get started, all you need to do is select Mac in the deployment info section of your project (this will only work if you have support for iPad).

According to Apple’s Developer documentation :“The Mac version of your iPad app supports many system features found in macOS without requiring any effort from you…”. These features include:

  • A default menu bar for your app.
  • Support for trackpad, mouse, and keyboard input.
  • Support for window resizing and full-screen display.
  • Mac-style scroll bars.
  • Copy-and-paste support.
  • Drag-and-drop support.
  • Support for system Touch Bar controls.

In addition, many systems provide UI elements automatically convert from iOS to macOS for example, you get macOS-appropriate versions of the following:

  • Split view
  • File Browser
  • Activity view
  • Form sheet
  • Contextual actions

If you want lo learn more about this feature, check out the following links:

https://developer.apple.com/videos/play/wwdc2019/205/

https://developer.apple.com/design/human-interface-guidelines/ios/overview/ipad-apps-for-mac/

About Us: Krasamo is a mobile development and consulting company focused on the Internet-of-Things and Digital Transformation.

Click here to learn more about our mobile development services.

RELATED BLOG POSTS

Android App Development 101

Android App Development 101

Native Android app development strategies currently revolve around Android’s commitment to becoming Kotlin-first and their migration from Java to Kotlin. In this transition, businesses are looking for first-class support, interoperability, and lower development and maintenance costs.

9 Tips to Help You Become a Successful Android App Developer

9 Tips to Help You Become a Successful Android App Developer

Over 60% of mobile phones worldwide run on Android. Being an Android app developer can be a profitable career if you do it right. Here are eight tips to help you land your app at the top, instead of getting lost at the bottom of the barrel and became a successful Android app developer.

Kotlin 1.3 is an Exciting Option for Android Mobile Apps Development

Kotlin 1.3 is an Exciting Option for Android Mobile Apps Development

Kotlin has been adopted by many Android developers and companies because it offers a concise programming syntax which makes developers more comfortable writing code, prevents the common errors seen when developing in Java, and is easy to switch from iOS development given that Kotlin syntax is very similar to Swift.