Skip to content

Instantly share code, notes, and snippets.

View liscio's full-sized avatar

Christopher Liscio liscio

View GitHub Profile
@liscio
liscio / SwiftUILunch.swift
Created June 26, 2020 17:03 — forked from ishabazz/SwiftUILunch
Trying to figure out how to show derived Views from different data types.
//: A UIKit based Playground for presenting user interface
import UIKit
import PlaygroundSupport
import SwiftUI
enum ComponentType{
case sandwich
case smoothie
case soup
@liscio
liscio / main.mm
Created October 17, 2023 17:08
It doesn't take much to corrupt the FPU state on Intel machines running macOS Sonoma!
#import <Cocoa/Cocoa.h>
#import <iostream>
static long double _giantValue = 0.0;
void writeGiantValue(long double inValue) {
_giantValue = inValue;
}
long double readGiantValue() {