Link Search Expand Document Types CubicTimingParameters : The timing information for animations in the form of a cubic Bézier curve. SpringTimingParameters : The timing information for animations that mimics the behavior of a spring. InputViewController Application : The centralised point of control and coordination for running applications. Scene.ConnectionOptions Scene SceneConfiguration SceneSession WindowScene TraitCollection LayoutAnchor : A factory class for creating layout constraint objects using a fluent API. LayoutConstraint LayoutDimension : A factory class for creating size-based layout constraint objects using a fluent API. LayoutGuide LayoutXAxisAnchor : A factory class for creating horizontal layout constraint objects using a fluent API. LayoutYAxisAnchor : A factory class for creating vertical layout constraint objects using a fluent API. BezierPath FocusAnimationCoordinator : A coordinator of focus-related animations during a focus update. FocusMovementHint : Provides movement hint information for the focused item. FocusUpdateContext : An object that provides information relevant to a specific focus update from one view to another. Image.Configuration : A configuration object that contains the traits that the system uses when selecting the current image variant. Image.SymbolConfiguration : An object that contains the specific font, size, style, and weight attributes to apply to a symbol image. Image : An object that manages image data in your app. Action : A menu element that performs its action in a closure. CommandAlternate : An object representing an alternative action for a command. Command : A menu element that performs its action in a selector. ContextMenuConfiguration : Returns the configuration data to use when previewing the content. ContextMenuInteraction : An interaction object that you use to display relevant actions for your content. Menu : A container for grouping related menu elements in an application menu or contextual menu. MenuElement : An object representing a menu, action, or command. MenuSystem : An object representing a main or contextual menu system. PreviewParameters : Additional parameters to use when animating a preview interface. PreviewTarget : An object that specifies the container view to use for animations. TargetedPreview PointerInteraction : An interaction that enables support for effects on a view or customizes the pointer’s appearance within a region of an app. PointerRegion PointerRegionRequest : An object to describe the pointer’s location in the interaction’s view. PointerStyle : An object that defines the pointer shape and effect. Font : Represents a font. FontDescriptor : A collection of attributes that describes a font. FontMetrics Event : An object that describes a single user interaction with your app. GestureRecognizer Press : An object that represents the presence or movement of a button press on the screen for a particular event. PressesEvent : An event that describes the state of a set of physical buttons that are available to the device, such as those on an associated remote or game controller. Responder TapGestureRecognizer : A discrete gesture recognizer that interprets single or multiple taps. Touch : An object representing the location, size, movement, and force of a touch occurring on the screen. SceneSizeRestrictions PresentationController : An object that manages the transition animations and the presentation of view controllers onscreen. ViewController : An object that manages a view hierarchy for your application. BarButtonItem : A specialized button for placement on a toolbar or tab bar. BarButtonItemGroup : A set of bar button items on the shortcuts bar. BarItem : An abstract superclass for items that you can add to a bar that appears at the bottom of the screen. Button : A control that executes your custom code in response to user interactions. Control : The base class for controls, which are visual elements that convey a specific action or intention in response to user interactions. DatePicker EdgeInsets ImageView : An object that displays a single image or a sequence of animated images in your interface. Label PickerView : A view that shows one or more sets of values. ProgressView Slider : A control for selecting a single value from a continuous range of values. Stepper : A control for incrementing or decrementing a value. Switch : A control that offers a binary choice, such as on/off. ContextualAction : An action to display when the user swipes a table row. SwipeActionsConfiguration : The set of actions to perform when swiping on rows of a table. TableView : A view that presents data using rows arranged in a single column. TableViewCell : The visual representation of a single row in a table view. TableViewFocusUpdateContext : A context object that provides information relevant to a specific focus update from one view to another. TableViewHeaderFooterView : A reusable view that you place at the top or bottom of a table section to display additional information for that section. TextField TextView View : An object that manages the content for a rectangular area on the screen. VisualEffect : An initializer for visual effect views and blur and vibrancy effect objects. AlertAction : An action that can be taken when the user taps a button in an alert. AlertController : An object that displays an alert message to the user. Screen Window : The backdrop for your application’s user interface and the object that dispatches events to your views. TimingCurveType : Constants indicating the type of timing information to use. ViewAnimatingPosition : Constants indicating positions within the animation. ViewAnimatingState : Constants indicating the current state of the animation. ModalPresentationStyle : Modal presentation styles available when presenting view controllers. Application.State : The running states of the application InterfaceOrientation : The orientation of the application’s user interface Device.BatteryState Device.Orientation UserInterfaceSizeClass : Constants that indicate the size class of a view. DisplayGamut : Constants that indicate the gamut of the current display. UserInterfaceStyle : Constants that indicate the interface style for the application. UserInterfaceActiveAppearance : Constants that indicate whether the user interface has an active appearance. UserInterfaceIdiom : Constants that indicate the interface type for the device or an object that has a trait environment, such as a view and view controller. UserInterfaceLevel : Constants that indicate the visual level for content in the window. TraitEnvironmentLayoutDirection : Constants that indicate the layout direction associated with the current environment. AccessibilityContrast : Constants that indicate the accessibility contrast setting. LegibilityWeight : The font weight to apply to text. ForceTouchCapability : Keys that indicate the availability of 3D Touch on a device. ListContentConfiguration.TextProperties.TextAlignment : Constants that specify the visual alignment of the text. ListContentConfiguration.TextProperties.TextTransform LayoutConstraint.Relation : The relation between the first attribute and the modified second attribute in a constraint. LayoutConstraint.Attribute : The part of the object’s visual representation that should be used to get the value for the constraint. Rect.Edge : Coordinates that establish the edges of a rectangle. SpringLoadedInteractionEffectState : The spring-loaded interaction states that determine the style of the interaction view. Image.SymbolWeight : Constants that indicate which weight variant of a symbol image to use. Image.SymbolScale ContextMenuInteraction.Appearance : Constants that describe the appearance of the menu. ContextMenuInteractionCommitStyle : Constants that control the interaction commit style. MenuElement.State : Constants that indicate the state of an action-based or command-based menu element. PointerEffect.TintMode : An effect that defines how to apply a tint to a view during a pointer interaction. PointerEffect : An effect that alters a view’s appearance when a pointer enters the current region. PointerShape : An object that defines the shape of custom pointers. LineBreakMode : Constants that specify what happens when a line is too long for its container. Event.EventType : Specifies the general type of event. Event.EventSubtype : Specifies the subtype of the event in relation to its general type. GestureRecognizer.State : The current state a gesture recognizer is in. Press.Phase : The phases of a button press. Press.PressType : Constants that represent buttons that a user can press. Touch.TouchType : The type of touch received. Touch.Phase : The phase of a touch event. ModalTransitionStyle : Transition styles available when presenting view controllers. BarButtonItem.SystemItem : Defines system-supplied images for bar button items. BarButtonItem.Style : The system close button. BarMetrics : Constants to specify metrics to use for appearance. Button.ButtonType : Specifies the style of a button. DatePickerStyle Switch.Style : Styles that determine the appearance of the switch. ContextualAction.Style : Constants indicating the style information that is applied to the action button. TableView.Style TableViewCell.CellStyle TableViewCell.EditingStyle : The editing control used by a cell. TextAlignment View.ContentMode : Options to specify how a view adjusts its content when its size changes. View.AnimationCurve : Specifies the supported animation curves. View.TintAdjustmentMode : The tint adjustment mode for the view. AlertAction.Style : Styles to apply to action buttons in an alert. AlertController.Style : Constants indicating the type of alert to display. TransitionContextViewControllerKey : The keys you use to identify the view controllers involved in a transition. TransitionContextViewKey : The keys you use to identify the views involved in a transition. ContentSizeCategory : Constants that indicate the preferred size of your content. InterfaceOrientationMask : These constants are mask bits for specifying a view controller’s supported interface orientations. Device SceneSession.Role : Constants that indicate the possible roles for a scene. BackgroundConfiguration : A configuration that describes a specific background appearance. CellConfigurationState : A structure that encapsulates a cell’s state. ConfigurationColorTransformer : A transformer that generates a modified output color from an input color. ConfigurationStateCustomKey : A key that defines a custom state for a view. ListContentConfiguration.ImageProperties : Properties that affect the list content configuration’s image. ListContentConfiguration.TextProperties : Properties that affect the list content configuration’s text. ListContentConfiguration : A content configuration for a list-based content view. ViewConfigurationState : A structure that encapsulates a view’s state. Application.LaunchOptionsKey : Keys used to access values in the launch options dictionary passed to your application at initialization time. LayoutPriority : The layout priority is used to indicate to the constraint-based layout system which constraints are more important, allowing the system to make appropriate tradeoffs when satisfying the constraints of the system as a whole. Transform3D : The standard transform matrix. AffineTransform : An affine transformation matrix for use in drawing 2D graphics. Point : A structure that contains a point in a two-dimensional coordinate system. Rect : A structure that contains the location and dimensions of a rectangle. Size : A structure that contains width and height values. Vector : A structure that contains a two-dimensional vector. Color : An object that stores color data and sometimes opacity. FocusSoundIdentifier : An identifier for a focus-related sound. FocusHeading : The general type of an event. Action.Identifier : A type that represents an action identifier. KeyModifierFlags : Constants that indicate which modifier keys are pressed. Menu.Identifier : Constants for identifying an application’s standard menus. Menu.Options : Options for configuring a menu’s appearance. MenuElement.Attributes : Attributes that determine the style of the menu element. _Win32WindowText Font.Weight : Constants that represent standard font weights. Font.TextStyle : Constants that describe the preferred styles for fonts. FontDescriptor.SystemDesign : Constants that describe the system-defined typeface designs. FontDescriptor.SymbolicTraits : Constants that describe the stylistic aspects of a font. FontDescriptor.AttributeName : Constants that describe font attributes. FontDescriptor.FeatureKey : Keys for retrieving feature settings. FontDescriptor.TraitKey Event.ButtonMask : Set of buttons pressed for the current event RectEdge : Constants that specify the edges of a rectangle. Axis : Defines a structure that specifies the layout axes. Control.State : The state of the control, specified as a bit mask value. Control.Event : Constants describing the types of events possible for controls. DirectionalEdgeInsets : Edge insets that take language direction into account. DirectionalRectEdge : Constants that specify an edge or a set of edges, taking the user interface layout direction into account. Offset : A structure that specifies an amount to offset a position. View.AnimationOptions : Options for animating views using block objects. View.AutoresizingMask : Options for automatic view resizing. Window.Level : The positioning of windows relative to each other. Protocols Global Functions Extensions Table of contents