Skip to content

Instantly share code, notes, and snippets.


Kevin Peng aoenth

  • Toronto, Canada
View GitHub Profile
View alignment-guides-tool.swift
// The SwiftUI Lab
// Website:
// Article:
import SwiftUI
class Model: ObservableObject {
@Published var minimumContainer = true
@Published var extendedTouchBar = false
@Published var twoPhases = true
santisbon / Search my
Last active Oct 18, 2021
How to search gists
View Search my

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.

Find all gists with a .yml extension.

Find all gists with HTML files.

khanov / Binary Tree Printer.swift
Last active Jul 14, 2021
Binary Tree ASCII Printer
View Binary Tree Printer.swift
import Foundation
// Ideally Node should be a struct.
// However Swift doesn't allow recursive value types at the moment.
class Node {
var left, right: Node?
var value: String
init(value: String = "") {