Skip to content

Instantly share code, notes, and snippets.

@telliott99
Last active December 9, 2015 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save telliott99/a7ee2fd408e2c074efd9 to your computer and use it in GitHub Desktop.
Save telliott99/a7ee2fd408e2c074efd9 to your computer and use it in GitHub Desktop.
import Cocoa
import SpeakerFramework
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
@IBOutlet weak var window: NSWindow!
func applicationDidFinishLaunching(aNotification: NSNotification) {
let sp = Speaker()
sp.speak()
}
func applicationWillTerminate(aNotification: NSNotification) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment