-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move ViewLayoutItem to ViewLayoutItem.swift
- Loading branch information
1 parent
c5224d8
commit 219e752
Showing
2 changed files
with
24 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// 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 | ||
|
||
internal final class ViewLayoutItem: LayoutItem { | ||
|
||
internal let layoutItemView: UIView | ||
internal let superviewConstraints: SuperviewConstraints | ||
|
||
internal init( | ||
layoutItemView: UIView, | ||
superviewConstraints: @escaping SuperviewConstraints | ||
) { | ||
self.layoutItemView = layoutItemView | ||
self.superviewConstraints = superviewConstraints | ||
} | ||
} |