Skip to content

Instantly share code, notes, and snippets.

View davidakoontz's full-sized avatar
💭
Working with Bubble.io a NO-CODE platform and building sites.

David Koontz davidakoontz

💭
Working with Bubble.io a NO-CODE platform and building sites.
View GitHub Profile
@davidakoontz
davidakoontz / CalculatorDisplayExample
Created November 18, 2023 19:20
Example of a Classic Calculator Display - right adjusted numbers - with indenpendent scrolling lines - in SwiftUI
//
// DisplayView.swift
// ExampleCalculatorDisplay
//
// Created by David on 11/16/23.
//
import SwiftUI
struct DisplayView: View {
@davidakoontz
davidakoontz / Fraction.swift
Created August 29, 2023 02:41
Fraction class for Swift - provides support for rational number arithmetic.
//
// Fraction.swift
//
// Created by David Koontz on 8/28/23.
//
import Foundation
// Wonder if a Rational Fraction class would be valuable in Swift.
// - Use Int to model the numerator & denominator
@davidakoontz
davidakoontz / net-worth.json
Last active May 27, 2018 16:52
Net Worth Example for Value Flow diagram
{"nodes":[
{"name":"Net Worth"},
{"name":"Cash - Original"},
{"name":"Dividens"},
{"name":"Cash In"},
{"name":"Facebook"},
{"name":"RDFN"},
{"name":"SHOP"},
{"name":"CMG"},
{"name":"AMZN"},