Skip to content

Instantly share code, notes, and snippets.

View wanderingstan's full-sized avatar

Stan James wanderingstan

View GitHub Profile
@bellbind
bellbind / recognizer.swift
Created November 5, 2015 07:11
[swift][osx]NSSpeechRecognizer example
// OSX NSSpeechRecognizer example
import Foundation
import AppKit
class Dispatcher: NSObject, NSSpeechRecognizerDelegate {
var stop: Bool
override init () {stop = false}
func speechRecognizer(sender: NSSpeechRecognizer,
didRecognizeCommand command: String) {