Created
November 9, 2015 05:15
-
-
Save alexbosworth/a9daf2fe8982d24722d7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
/** Helper methods for CGAffineTransform | |
*/ | |
extension CGAffineTransform { | |
/** Make a vertical flip transformation | |
*/ | |
static func flipVertical() -> CGAffineTransform { | |
return CGAffineTransformMakeScale(1, -1) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment