Porting iOS apps to macOS 10.14 Mojave might not be as simple as first thought

Audio player loading…

During this year’s WWDC event held by Apple, the company discussed porting iOS apps that run on iPads and iPhones to macOS 10.14 Mojave, and while the tools aren’t likely to be released this year, a developer has already done a bit of research into how that process will work.

Developer Steve Troughton-Smith (opens in new tab) is the app maker in question, and he’s been tweeting about the process of using Marzipan, which is the codename for porting UIKit iOS apps to AppKit (which runs on macOS).

As Troughton-Smith explains, it’s not a simple process of just pasting an app into some new code and running it on a Mac. 

There are a number of challenges involved to make the apps not only run well, but also user interface considerations to take into account, with users going from a small touch screen to a larger desktop or laptop screen with mouse and keyboard controls.

The pros and cons of app migration

Troughton-Smith took to Twitter to share his findings. He noticed that resizing UIKit apps is sluggish and “gonna be a major pain point for a future iPad”. The popularity of tablet devices is waning a bit lately, but if Apple is going to stick with its iPad line, it may need to seriously boost its specs with the next generation.

See more

In fact, Troughton-Smith suggests that “Improvements to UIKit for Mac-specific [features] are very likely going to go hand-in-hand [with] improvements to iPad too… like adding multiple window support to apps, or tabbed windowing”.

The developer also noted that “UIKit table view performance on the other hand is way smoother on iOS than macOS”.

He also highlighted the new UITableViewStyleSidebar, which is designed to add a simulated Mac-style sidebar, with similar visual effects, to make ported iOS apps look and behave more like native Mac apps.

See more

The process doesn’t seem to be as straightforward as Apple’s Craig Federighi claimed in an interview with Wired (opens in new tab), who said that “for app makers, some aspects of app porting will be automated and others will require extra coding. Using Xcode, Apple’s app-making software that runs on Macs, a developer will be able to indicate they want to write a variant of their iOS app for macOS.”

However, this is still relatively early days, and as Troughton-Smith notes, there are some iOS apps should work on macOS without much work at all.

See more

For those of us who have been waiting for our favorite iOS apps to come to macOS, this is a promising start.

Via 9to5Mac (opens in new tab)

Matt Hanson
Managing Editor, Core Tech

Matt is TechRadar's Managing Editor for Core Tech, looking after computing and mobile technology. Having written for a number of publications such as PC Plus, PC Format, T3 and Linux Format, there's no aspect of technology that Matt isn't passionate about, especially computing and PC gaming. Ever since he got an Amiga A500+ for Christmas in 1991, he's loved using (and playing on) computers, and will talk endlessly about how The Secret of Monkey Island is the best game ever made.