Skip to content

Instantly share code, notes, and snippets.

// This is a 3d printable tailgate latch rod clip that fits my 1995 Toyota T100.
// intended to be printed as oriented, with the insert pin facing up
// Using dependencies helps keep me sane. Please excuse the inconvenience of installation :)
// https://github.com/revarbat/BOSL/wiki
//
// Installation instructions: https://github.com/revarbat/BOSL/wiki
include <BOSL/constants.scad>
@zef
zef / StickyFooterScrollView.swift
Last active December 9, 2022 04:56
A reusable view where you can include content in a scroll view, with a footer that stays on the bottom of the screen until there is enough content to push it down further.
// Created by Zef Houssney on 12/8/22.
//
import SwiftUI
struct StickyFooterScrollView<Content, Footer>: View where Content: View, Footer: View {
let mainView: Content
let footer: Footer
init(@ViewBuilder mainView: () -> Content, @ViewBuilder footer: () -> Footer) {