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:
| /** | |
| NotificationBar presents status of app's internal workflow visually. | |
| In case of server disconnection... or receiving a new message... etc | |
| */ | |
| class NotificationBar: UIView{ | |
| private let messageLabel: UILabel = UILabel() | |
| // You can change the mark as you wish, If it can be presented by Unicode text. |
| import Foundation | |
| import UIKit | |
| extension UIColor { | |
| convenience init(hexString:String) { | |
| let hexString:NSString = hexString.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceAndNewlineCharacterSet()) | |
| let scanner = NSScanner(string: hexString) | |
| if (hexString.hasPrefix("#")) { | |
| scanner.scanLocation = 1 |