Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Getting an error connecting to target. Should be simple. Help please.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="chris_284" data-source="post: 1203773" data-attributes="member: 195594"><p>Hey,</p><p></p><p>I'm a software developer but and have recently taken up some Objective-C and Cocoa books.</p><p></p><p>I'm currently on Aaron Hillegaas's Book "Cocoa Programming for Max OS X"</p><p></p><p>In Chapter 5 he has you go through a simple program on how to create a program utilizing the NSSpeechSynthesizer. You create a text field and two buttons, with the purpose of being able to type in a phrase and then you can press Start or Stop to have the machine read your phrase.</p><p></p><p>I have found the exact 'Chapter' or 'Code snippet description' here ( <a href="http://www.mactech.com/articles/mactech/Vol.21/21.01/CreatingACocoaApp/" target="_blank">Creating a Cocoa AppController Class</a> )</p><p></p><p></p><p>I have followed everything exactly and I get the following error when I build and run.</p><p></p><p></p><p>2011-03-16 22:06:27.010 SpeakLine[1051<img src="/images/smilies/angel.gif" class="smilie" loading="lazy" alt=":a" title="Angel :a" data-shortname=":a" />0f] <strong>Could not connect the action sayIt: to target of class AppController</strong></p><p>2011-03-16 22:06:27.011 SpeakLine[1051<img src="/images/smilies/angel.gif" class="smilie" loading="lazy" alt=":a" title="Angel :a" data-shortname=":a" />0f] <strong>Could not connect the action stopIt: to target of class AppController</strong></p><p></p><p>I know my code is likely fine as I was able to find ONE other person having this issue while doing a google search and following this Chapter. However, he never found a solution.</p><p></p><p>Does anyone know what is the issue with this likely easy issue?</p></blockquote><p></p>
[QUOTE="chris_284, post: 1203773, member: 195594"] Hey, I'm a software developer but and have recently taken up some Objective-C and Cocoa books. I'm currently on Aaron Hillegaas's Book "Cocoa Programming for Max OS X" In Chapter 5 he has you go through a simple program on how to create a program utilizing the NSSpeechSynthesizer. You create a text field and two buttons, with the purpose of being able to type in a phrase and then you can press Start or Stop to have the machine read your phrase. I have found the exact 'Chapter' or 'Code snippet description' here ( [url=http://www.mactech.com/articles/mactech/Vol.21/21.01/CreatingACocoaApp/]Creating a Cocoa AppController Class[/url] ) I have followed everything exactly and I get the following error when I build and run. 2011-03-16 22:06:27.010 SpeakLine[1051:a0f] [B]Could not connect the action sayIt: to target of class AppController[/B] 2011-03-16 22:06:27.011 SpeakLine[1051:a0f] [B]Could not connect the action stopIt: to target of class AppController[/B] I know my code is likely fine as I was able to find ONE other person having this issue while doing a google search and following this Chapter. However, he never found a solution. Does anyone know what is the issue with this likely easy issue? [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Getting an error connecting to target. Should be simple. Help please.
Top