18 lines
287 B
Swift
18 lines
287 B
Swift
|
|
//
|
||
|
|
// UIEdgeInsets+Layout.swift
|
||
|
|
// SBrowser
|
||
|
|
//
|
||
|
|
// Created by James Magahern on 7/23/20.
|
||
|
|
//
|
||
|
|
|
||
|
|
import UIKit
|
||
|
|
|
||
|
|
extension UIEdgeInsets
|
||
|
|
{
|
||
|
|
var negative: UIEdgeInsets {
|
||
|
|
get {
|
||
|
|
return UIEdgeInsets(top: -top, left: -left, bottom: -bottom, right: -right)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|