UIImage

class UIImage : NSObject, NSSecureCoding
  • EZSE: Returns cropped image from CGRect

    Declaration

    Swift

    public func nx_croppedImage(to ratio: CGFloat) -> UIImage