forked from zelo72/mastodon-ios
21 lines
390 B
Swift
21 lines
390 B
Swift
//
|
|
// NSLayoutConstraint.swift
|
|
// Mastodon
|
|
//
|
|
// Created by sxiaojian on 2021/1/28.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
extension NSLayoutConstraint {
|
|
public func priority(_ priority: UILayoutPriority) -> Self {
|
|
self.priority = priority
|
|
return self
|
|
}
|
|
|
|
public func identifier(_ identifier: String?) -> Self {
|
|
self.identifier = identifier
|
|
return self
|
|
}
|
|
}
|