• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Integrate aurioTouch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Integrate aurioTouch


  • Subject: Re: Integrate aurioTouch
  • From: Hugo Silva <email@hidden>
  • Date: Mon, 27 Jun 2011 14:09:26 +0100

Thanks for the reply. Now, I removed the @class, and put the imports, and I put this code:

aurioTouchAppDelegate *soundRecord = (aurioTouchAppDelegate *)[[UIApplication sharedApplication] delegate];
[soundRecord startRecord];

I have also change the file in my app where this code is, to a mm file.

When I run this, I get this error:

2011-06-27 12:57:20.269 HomeSense[14996:40b] -[HomeSenseAppDelegate startRecord]: unrecognized selector sent to instance 0x5846a30
2011-06-27 12:57:20.271 HomeSense[14996:40b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[HomeSenseAppDelegate startRecord]: unrecognized selector sent to instance 0x5846a30'



On 6/27/11 1:17 PM, Fritz Anderson wrote:
On 27 Jun 2011, at 6:14 AM, Hugo Silva wrote:

Ok, I solved all this errors, but now when I call this method I get this warning:

warning: no '-startRecord' method found

I have this code:

aurioTouchAppDelegate *soundRecord = (aurioTouchAppDelegate *)[[UIApplication sharedApplication] delegate];
   [soundRecord startRecord];

What is wrong?

I put in the header file the @class auriotouch, and no imports...
The @class directive tells the compiler that the symbol refers to a class, so it won't emit errors because the symbol is unknown. It won't tell the compiler what methods the class supports. To do that, #import the class's interface (.h) file in the implementation (.m) files that use it.

	— F



--
Sem mais assunto,
Hugo Silva
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Integrate aurioTouch
      • From: Hugo Silva <email@hidden>
References: 
 >Integrate aurioTouch (From: Hugo Silva <email@hidden>)
 >Re: Integrate aurioTouch (From: Hugo Silva <email@hidden>)
 >Re: Integrate aurioTouch (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Integrate aurioTouch
  • Next by Date: Re: Integrate aurioTouch
  • Previous by thread: Re: Integrate aurioTouch
  • Next by thread: Re: Integrate aurioTouch
  • Index(es):
    • Date
    • Thread