Skip to content

Instantly share code, notes, and snippets.

View idiomatic's full-sized avatar

Brian Harrison idiomatic

  • Portland, Oregon
View GitHub Profile
import SwiftUI
import VisionKit
final class ContentViewModel: NSObject, ObservableObject {
@Published var errorMessage: String?
@Published var imageArray: [UIImage] = []
func getDocumentCameraViewController() -> VNDocumentCameraViewController {
let vc = VNDocumentCameraViewController()
vc.delegate = self
kavu / example.go
Created September 28, 2013 10:01
Minimal Golang + Cocoa application using CGO. Build with `CC=clang go build`
package main
#cgo CFLAGS: -x objective-c
#cgo LDFLAGS: -framework Cocoa
#import <Cocoa/Cocoa.h>
StartApp(void) {
[NSAutoreleasePool new];
lexrus / HD.txt
Last active July 20, 2023 08:11
All WWDC 2013 Session Videos URLs in dumped with Chrome. You can download these videos **without** a Apple developer account by running the script. There is also a sample code downloader here: