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.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: