UIKit

Software development environment
(Learn how and when to remove this message)
UIKit
Developer(s)Apple Inc.
Written inObjective-C, Swift
Operating systemiOS, iPadOS, tvOS
TypeSoftware framework
LicenseProprietary
WebsiteUIKit | Apple Developer

UIKit is a application development environment and graphical user interface toolkit from Apple Inc. used to build apps for the iOS, iPadOS, and tvOS operating systems.[1]

UIKit provides an abstraction layer of iOS, the operating system for the iPhone, iPod Touch, and iPad. UIKit is insipired by the AppKit found in the macOS Cocoa API toolset and, like it, is primarily written in the Objective-C language. UIKit allows the use of hardware and features that are not found in macOS computers and are thus unique to the iOS range of devices. Just like AppKit, UIKit follows a Model–View–Controller (MVC) software architecture.

UIKit contains a different set of graphical control elements from AppKit. Tools for developing applications based on UIKit are included in the iOS SDK.

UIKit in relation to other layers

iOS, watchOS, and tvOS technologies can be seen as a set of layers, with UIKit at the highest level and the core operating system / kernel at the bottom.

A hierarchical view of the iOS, watchOS, and tvOS technologies can be shown as follows:

  1. UIKit
  2. Media / Application Services
  3. Core Services
  4. Core OS / iOS kernel

Main features

Some of the main features and technologies of UIKit are:

  • App Extension
  • Data Management
  • Handoff
  • Document Picker
  • AirDrop
  • TextKit
  • UIKit Dynamics
  • Multitasking
  • Auto Layout
  • Storyboards
  • UI State Preservation
  • Apple Push Notification Service
  • Local Notifications
  • Gesture Recognisers
  • Standard System View Controllers

Main frameworks

UIKit provides the key frameworks for developing applications on devices running iOS, and is based atop Foundation Kit. Other frameworks built by Apple that complement AppKit are:

  • GameKit
  • MapKit
  • Address Book UI
  • EventKit UI
  • Message UI
  • Notification Center
  • PushKit

Ports

Microsoft's WinObjC, the GNUstep-based iOS bridge for the Universal Windows Platform, contains working implementations of frameworks such as Foundation, UIKit, and MapKit released under the MIT License.[2] One of the UIKit implementations is based on XAML.[3]

Various efforts have tried to bring UIKit to macOS:

References

  1. ^ "UIKit | Apple Developer Documentation". Apple Developer. Retrieved September 15, 2024.
  2. ^ "microsoft/WinObjC/Frameworks: Objective-C for Windows". GitHub. Retrieved 17 February 2020.
  3. ^ "WinObjC: Migrating UIKit Controls to XAML". GitHub.
  4. ^ Heber, Sean. "BigZaphod/Chameleon: Chameleon is a port of Apple's UIKit for iOS (and some minimal related frameworks) to Mac OS X." GitHub.
  5. ^ "ZeeZide/UXKit: Write code that works on both, UIKit and AppKit". GitHub. ZeeZide. 19 December 2019. Retrieved 17 February 2020.
  6. ^ Hall, Zac (5 February 2015). "UIKit-like framework called UXKit used in Photos for Mac". 9to5Mac.
  7. ^ Demasi, Adam (7 June 2018). "A quick look at UIKit on macOS".
  8. ^ "Mac Catalyst". Apple Developer Documentation. Retrieved 17 February 2020.
  • v
  • t
  • e
iOS and iOS-based products
Hardware
iPhone
iPod Touch
  • 1st
  • 2nd
  • 3rd
  • 4th
  • 5th
  • 6th
  • 7th
iPad
  • 1st
  • 2
  • 3rd
  • 4th
  • 5th
  • 6th
  • 7th
  • 8th
  • 9th
  • 10th
  • Mini
    • 1st
    • 2
    • 3
    • 4
    • 5th
    • 6th
  • Air
    • 1st
    • 2
    • 3rd
    • 4th
    • 5th
    • 6th
  • Pro
    • 1st
    • 2nd
    • 3rd
    • 4th
    • 5th
    • 6th
    • 7th
Other
iOS logo
Software
OS
Derived from iOS
Features
SDK & API
Bundled apps
Discontinued
Apple apps
Discontinued
Services
Discontinued
Other
  • Italics denote upcoming products
  •  Category