This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| import Foundation | |
| extension String | |
| { | |
| var length: Int { | |
| get { | |
| return countElements(self) | |
| } | |
| } | |
Draw a mask image like Left-3 to blend a rounded corner:
func UIGraphicsDrawAntiRoundedCornerImageWithRadius(radius: CGFloat, outerSize: CGSize, innerSize: CGSize, fillColor: UIColor) -> UIImage{
UIGraphicsBeginImageContextWithOptions(outerSize, false, UIScreen.mainScreen().scale)
let currentContext = UIGraphicsGetCurrentContext()
let bezierPath = UIBezierPath()