Skip to content

Commit 253ad89

Browse files
committed
Updated help menu
1 parent e63c07d commit 253ad89

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

helpMenu.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ Clear:
1616
Clear the current input
1717
"Clear stop"
1818

19+
Stop Recording:
20+
Say "stop" two consecutive times to stop recording. The first "stop" can be from a previous command.
21+
1922

2023
Make New Classes:
2124
"New <visibility> class <className> stop"

textToCode/textToCode/Base.lproj/Main.storyboard

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ Clear:
148148
Clear the current input
149149
"Clear stop"
150150

151+
Stop Recording:
152+
Say "stop" two consecutive times to stop recording. The first "stop" can be from a previous command.
153+
151154

152155
Make New Classes:
153156
"New &lt;visibility&gt; class &lt;className&gt; stop"

textToCode/textToCode/JavaVariable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class JavaVariable{
1616
init(name: String, vis: String, type: String) {
1717
self.name = name;
1818
self.visability = ItemVisability(rawValue: vis) ?? ItemVisability.defaultItem;
19-
self.type = type;
19+
self.type = type.uppercasingFirst;
2020
}
2121

2222
func getName() -> String{

textToCode/textToCode/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ViewController: UIViewController, SFSpeechRecognizerDelegate {
3535

3636
override func viewDidLoad() {
3737
super.viewDidLoad()
38-
testInput();
38+
self.textOutput.attributedText = SpeechProcessor.state.toFormattingString();
3939
recordButton.isEnabled = false
4040
speechRecognizer!.delegate = self
4141
SFSpeechRecognizer.requestAuthorization { (authStatus) in

0 commit comments

Comments
 (0)