15 lines
263 B
Swift
15 lines
263 B
Swift
|
//
|
||
|
// UIEdgeInsets.swift
|
||
|
//
|
||
|
//
|
||
|
// Created by Jed Fox on 2022-11-24.
|
||
|
//
|
||
|
|
||
|
import UIKit
|
||
|
|
||
|
extension UIEdgeInsets {
|
||
|
public static func constant(_ offset: CGFloat) -> Self {
|
||
|
UIEdgeInsets(top: offset, left: offset, bottom: offset, right: offset)
|
||
|
}
|
||
|
}
|