This section provides comprehensive documentation for the UIKit Framework API. UIKit is a powerful framework for building user interfaces on iOS, watchOS, and tvOS applications.

Overview

UIKit provides a collection of classes and interfaces that help you create user interfaces for your applications. It includes views, controls, and other components that you can use to build your app's user interface.

  • Views: The building blocks of the user interface, such as UIView, UIViewController, and UIViewControl.
  • Controls: Elements like buttons, switches, and sliders that allow users to interact with your app.
  • Layout: Tools for arranging your views and controls in a visually appealing and functional manner.

Getting Started

Before diving into the API reference, it's important to understand the basic concepts of UIKit. For a more detailed guide, check out our Getting Started with UIKit.

API Reference

Below is a list of some of the key classes and interfaces in the UIKit Framework:

  • UIView: The base class for all views.
  • UIViewController: The base class for all view controllers.
  • UIViewControl: The base class for all user interface controls.
  • UITableView: A view that displays a collection of cells.
  • UICollectionView: A view that displays a collection of cells in a grid or list format.

For a complete list of classes and methods, refer to the full API reference.

Resources


Images

  • iPhone X:
    iPhone_X
  • iPad Pro:
    iPad_Pro
  • Apple Watch:
    Apple_Watch