From c85943e4009083ccd53cb0e1bd944696c0f8f5e6 Mon Sep 17 00:00:00 2001 From: tinder-emanharoutunian Date: Tue, 31 Oct 2023 13:21:16 -0700 Subject: [PATCH] Move XAxisAttribute to XAxisAttribute.swift --- Sources/Layout/AnchorAttribute.swift | 5 ----- Sources/Layout/XAxisAttribute.swift | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 Sources/Layout/XAxisAttribute.swift diff --git a/Sources/Layout/AnchorAttribute.swift b/Sources/Layout/AnchorAttribute.swift index 7f8e3b0e..f242003d 100644 --- a/Sources/Layout/AnchorAttribute.swift +++ b/Sources/Layout/AnchorAttribute.swift @@ -10,11 +10,6 @@ import UIKit -public enum XAxisAttribute { - - case left, centerX, right, leading, trailing -} - public enum YAxisAttribute { case top, centerY, firstBaseline, lastBaseline, bottom diff --git a/Sources/Layout/XAxisAttribute.swift b/Sources/Layout/XAxisAttribute.swift new file mode 100644 index 00000000..21317355 --- /dev/null +++ b/Sources/Layout/XAxisAttribute.swift @@ -0,0 +1,15 @@ +// +// 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 Foundation + +public enum XAxisAttribute { + + case left, centerX, right, leading, trailing +}