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:
| function NestedScrollViewManager (parent_view) | |
| { | |
| // Appcelerator Titanium code for managing scrollviews inside of scrollviews (not true Android | |
| // NestedScrollViews, but just a horizontal scrollview inside of a vertical scrollview). | |
| // | |
| // If you want to put a horizontal scrollview inside a vertical scrollview (like the Netflix app UI), | |
| // it seems to work reasonably well on iOS. But on android, the user experience is very janky. | |
| // Unless the user's drag movements are nearly exactly horizontal, there will be some movement of | |
| // the parent scrollview, and then it becomes very difficult to scroll the child view. Flinging is | |
| // almost impossible. |
| /** | |
| * Calculates the physical display size for android devices | |
| * e.g 4,95 for Nexus 5 or 7,02 for Nexus 7 | |
| * | |
| * IMPORTANT: this requires https://github.com/dbankier/HasMenu | |
| * | |
| * @return {Number} size as inches | |
| */ | |
| function getPhysicalSize(){ | |
| // some infos we need |
| package cp | |
| import ( | |
| "io" | |
| "os" | |
| ) | |
| func cp(dst, src string) error { | |
| s, err := os.Open(src) | |
| if err != nil { |