Skip to content

Instantly share code, notes, and snippets.

View johanneserhardt's full-sized avatar

Johannes Erhardt johanneserhardt

View GitHub Profile
// Run any SwiftUI view as a Mac app.
import Cocoa
import SwiftUI
NSApplication.shared.run {
VStack {
Text("Hello, World")
.padding()
.background(Capsule().fill(Color.blue))
@roidrage
roidrage / ebooks.md
Created December 2, 2011 15:15
Self-published and awesome