Skip to content

Instantly share code, notes, and snippets.

@telliott99
Last active December 9, 2015 01:44
Show Gist options
  • Select an option

  • Save telliott99/a7ee2fd408e2c074efd9 to your computer and use it in GitHub Desktop.

Select an option

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