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:
| // | |
| // TipsView.swift | |
| // Stonks | |
| // | |
| // Created by Paul Stamatiou on 7/3/20. | |
| // | |
| import SwiftUI | |
| import PlaygroundSupport |
| import SwiftUI | |
| import PlaygroundSupport | |
| struct Screen: View { | |
| var body: some View { | |
| NavigationView { | |
| VStack { | |
| ScrollView (.vertical, showsIndicators: false) { | |
| SearchBar() | |
| Pins() |
| import SwiftUI | |
| import PlaygroundSupport | |
| struct Screen: View { | |
| init() { | |
| UINavigationBar.appearance().largeTitleTextAttributes = [.foregroundColor: UIColor.systemBlue] | |
| UINavigationBar.appearance().titleTextAttributes = [.foregroundColor: UIColor.systemBlue] | |
| } | |
| @State var tasks = ["Meal Prep", "Call Family", "Do Laundry"] | |
| var body: some View { |
| # -*- coding: utf-8 -*- | |
| import csv | |
| import time | |
| import re | |
| import codecs, cStringIO | |
| from argparse import ArgumentParser | |
| import tweepy | |
| import json | |
| import boto3 | |
| settings = { | |
| "aws.cloudsearch.doc": | |
| "<doc-ep>", | |
| "aws.cloudsearch.search": | |
| "<search-ep>" | |
| } | |
| from avail.aws.cloudsearch import get_cloudsearch_endpoint_from_settings | |
| doc = get_cloudsearch_endpoint_from_settings("doc", settings) |