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:
| // | |
| // DisplayLink.swift | |
| // | |
| // Created by Jose Canepa on 8/18/16. | |
| // Copyright © 2016 Jose Canepa. All rights reserved. | |
| // Updated by Grigory Avdyushin on 3/6/19. | |
| // Copyright © 2019 Grigory Avdyushin. All rights reserved. | |
| // | |
| import AppKit |
| // | |
| // AsyncTests.swift | |
| // | |
| import XCTest | |
| // MARK: Async Helper Extension | |
| extension XCTestCase { | |
| // | |
| // Swift-KVO | |
| // | |
| // Created by Jim Correia on 6/5/14. | |
| // Copyright (c) 2014-2015 Jim Correia. All rights reserved. | |
| // | |
| // Update: 6/17/2014 | |
| // | |
| // KVOContext has gone away; use the same idiom you'd use from Objective-C for the context | |
| // |
| // | |
| // String 1.0 | |
| // Created by Caleb Hess on 2/22/16. | |
| // | |
| public extension String { | |
| public var count: Int { | |
| return self.characters.count | |
| } |