I made the mistake up updating my project to Swift 4.2 without waiting for pods to be updated. I have slowly updated all of my code, but there's one line that I can't seem to figure out.
var animationRect = UIEdgeInsetsInsetRect(frame, UIEdgeInsets(top: padding, left: padding, bottom: padding, right: padding))
The error I receive is,
UIEdgeInsetsInsetRect' has been replaced by instance method 'CGRect.inset(by:)
Any help with this would be greatly appreciated!