Skip to content

Commit

Permalink
Add LayoutCenter
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-emanharoutunian committed Oct 16, 2023
1 parent b642592 commit 9952256
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Sources/Layout/LayoutCenter.swift
Original file line number Diff line number Diff line change
@@ -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: AnyObject {

var centerX: NSLayoutXAxisAnchor { get }
var centerY: NSLayoutYAxisAnchor { get }
}

0 comments on commit 9952256

Please sign in to comment.