1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-17 11:19:54 +01:00
mastodon-app-ufficiale-ipho.../MastodonSDK/Sources/MastodonExtension/NSLayoutConstraint.swift
2021-07-19 20:16:56 +08:00

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
}
}