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