Created
April 18, 2016 22:02
-
-
Save soffes/6168dc642b431ff01a8f1a3fda25a6c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
extension UIEdgeInsets { | |
init(_ value: CGFloat) { | |
top = value | |
left = value | |
right = value | |
bottom = value | |
} | |
static let zero = UIEdgeInsets(0) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment