Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import UIKit

public extension Array where Element == CGPoint {

public var quadPath: UIBezierPath {
var quadPath: UIBezierPath {
let path = UIBezierPath()

guard count == 4 else { return path }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import UIKit

public extension UIImage {

public func fixOrientation(orientation: UIImage.Orientation? = nil) -> UIImage {
func fixOrientation(orientation: UIImage.Orientation? = nil) -> UIImage {
guard orientation == nil && imageOrientation != .up else { return self }

var transform = CGAffineTransform.identity
Expand Down