mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-17 11:19:54 +01:00
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
|
|
}
|
|
}
|