Kurdtvs-Live-Kurdish-TV-Kur.../MastodonSDK/Sources/MastodonExtension/NSLayoutConstraint.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
}
}