xcode MAC project UIKIT IMPORT FRAMEWORK PACKAGE

MY Question IS How should i import uikit into a xode mac project .  In other words, how do I use uIkit in mac swift code? ==== Problem When I Add the phase "import UIKit" I get this error code. bold

Answered by szymczyk in 734637022

UIKit is an iOS framework. It is not available for Mac apps unless you are using Mac Catalyst to make a Mac version of an iOS app.

AppKit is the Mac equivalent of UIKit. Import the Cocoa framework to import AppKit.

xcode MAC project UIKIT IMPORT FRAMEWORK PACKAGE
 
 
Q