Created
December 9, 2015 14:48
-
-
Save telliott99/04b415a2a0adb9aa697b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Cocoa | |
import SpeakerFramework | |
class MainWindowController: NSWindowController { | |
@IBOutlet weak var labelTextField: NSTextField! | |
override func windowDidLoad() { | |
super.windowDidLoad() | |
let sp = Speaker() | |
sp.testSpeaker() | |
labelTextField.stringValue = sp.speak() | |
} | |
override var windowNibName: String { | |
return "MainWindowController" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment