diff --git a/Sources/Layout/LayoutCenter.swift b/Sources/Layout/LayoutCenter.swift new file mode 100644 index 00000000..82bd5cef --- /dev/null +++ b/Sources/Layout/LayoutCenter.swift @@ -0,0 +1,18 @@ +// +// All Contributions by Match Group +// +// Copyright © 2023 Tinder (Match Group, LLC) +// +// Licensed under the Match Group Modified 3-Clause BSD License. +// See https://github.com/Tinder/Layout/blob/main/LICENSE for license information. +// + +import UIKit + +@preconcurrency +@MainActor +public protocol LayoutCenter { + + var centerX: NSLayoutXAxisAnchor { get } + var centerY: NSLayoutYAxisAnchor { get } +}