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:
| // | |
| // RBResizer.swift | |
| // Locker | |
| // | |
| // Created by Hampton Catlin on 6/20/14. | |
| // Copyright (c) 2014 rarebit. All rights reserved. | |
| // Updated by Justin Winter on 11/29/15. | |
| // | |
| extension UIImage { |
| - (void)viewDidLoad { | |
| [super viewDidLoad]; | |
| // Do any additional setup after loading the view. | |
| [[self navigationController] setNavigationBarHidden:NO animated:NO]; | |
| pickerArray = [[NSArray alloc]init]; | |
| txtContent = [[NSString alloc]init]; | |
| __autoreleasing NSError* error = nil; | |
| NSStringEncoding* enc = nil; | |
| -(void)countryPop{ | |
| UIViewController *countryContent = [[UIViewController alloc]init]; | |
| UIView *popDataPickerView = [[UIView alloc]init]; | |
| popDataPickerView.backgroundColor = [UIColor whiteColor]; | |
| UIPickerView *countryPicker = [[UIPickerView alloc]init]; | |
| self.countryList = [[UIPopoverController alloc]initWithContentViewController:countryContent]; | |
| self.countryList.delegate = self; | |
| countryPicker.delegate=self; | |
| countryPicker.dataSource = self; | |
| http://www.devfright.com/uikitdynamics-sliding-menu/ |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |