“There are millions of iOS apps out there, and some of them would be great on the Mac,” Federighi said. With the announcement, the company also stressed that it would not be merging the iPhone and Mac operating systems into one platform, which has been a speculation for years. It is only taking some developer frameworks from iOS and bringing them over to the Mac to ensure easy porting of iOS apps to the Mac. Federighi also added that both iOS and macOS would continue to remain separate products. Apple has already been testing its new frameworks, with the recently revealed News, Stocks, Voice Memos, and Home apps (basically ported versions of the iOS apps) that were recently introduced with the next version of macOS, Mojave. Since iOS and MacOS are separate operating systems and have their own separate software libraries, called UIKit and AppKit respectively, has made the porting of iOS apps to Mac difficult, said Federighi. “iOS devices and macOS devices, of course, are different,” Federighi said. “That makes porting an app from one to the other some work. We wanted to make that much easier. We’ve taken some key frameworks from iOS and brought them to the Mac.” To make it possible, Apple is incorporating part of iOS’s UIKit into macOS, along with desktop’s existing AppKit framework. According to Federighi, the first step was to get an iOS framework in place of macOS so that iOS apps can be optimized for traditional computer inputs in a desktop environment, such as trackpad support, window resizing, scroll bars, copy-paste, drag-drop and the like. The first iOS apps for macOS will be made by Apple later this year, which will include Stocks, News, Home and Voice Memos. Developers are expected to be able to access the cross-platform porting functionality sometime in 2019. These apps might have the same overall feel as their mobile counterparts but key user interactions will have to be updated for the desktop environment. That’s where the framework comes into play. Source: THN