Skip to content

Instantly share code, notes, and snippets.

View ryanlintott's full-sized avatar

Ryan Lintott ryanlintott

View GitHub Profile
@ryanlintott
ryanlintott / image-expansion.swift
Last active May 17, 2022 15:53 — forked from robb/image-expansion.swift
Image that can be revealed between other elements in a VStack.
import SwiftUI
struct ContentView: View {
@State private var pictureExpanded = false
var body: some View {
VStack(alignment: .leading, spacing: 20.0) {
Text("Once upon a time there was a turtle named George who made friends with a giraffe at the local water park and then they went on lots of adventures together.")
Button {
@ryanlintott
ryanlintott / addfont.cmd
Last active December 19, 2015 07:39 — forked from heldr/addfont.cmd
Updated for font files with spaces
REM http://www.msfn.org/board/topic/119612-how-to-install-a-font-via-the-command-line/
@ECHO OFF
TITLE Adding Fonts..
REM Filename: ADD_Fonts.cmd
REM Script to ADD TrueType and OpenType Fonts for Windows
REM By Islam Adel
REM 2012-01-16
REM How to use: