• 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
question of a beginner: implementing a custom view for an AU Instrument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

question of a beginner: implementing a custom view for an AU Instrument


  • Subject: question of a beginner: implementing a custom view for an AU Instrument
  • From: Fabien Auréjac <email@hidden>
  • Date: Wed, 15 Sep 2010 04:14:11 +0200

hello,
I'm trying to implement a Cocoa custom view in a project started by the AU Instrument template.
I'm really new to mac os programming, so excuse me for the mistakes and misunderstandings i will probably make.

I get 35 errors form the compiler on the cocoaViewFactory file I extracted from the audiounit effect template.
This file has been imported with all known related files, including headers, cocoaView files and .xib file.

the compiler says it didn't find the references of many cocoa classes, including NSView, NSString, NSSlider, and so on...
i don't understand why, because i have still myCocoaViewFactory inheriting from NSObject with the protocol <AUCocoaUIBase>.
What is precisely happening?
It's like a lot of cocoa subclasses could not be found, but are they found with only "#import <Cocoa/Cocoa.h>"
in the header file of myCocoaViewFactory?
I'll look at that sample code right now, hoping it will give me a start of answer:
http://developer.apple.com/library/mac/#samplecode/SampleAUs/Listings/CocoaUI_SampleEffectCocoaViewFactory_h.html

if anyone can help, it would be a great start for me.

thanks for your patience,
cheers,

Fabien
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: question of a beginner: implementing a custom view for an AU Instrument
      • From: tahome izwah <email@hidden>
  • Prev by Date: Re: CALatencyLog?
  • Next by Date: Re: question of a beginner: implementing a custom view for an AU Instrument
  • Previous by thread: Re: CALatencyLog?
  • Next by thread: Re: question of a beginner: implementing a custom view for an AU Instrument
  • Index(es):
    • Date
    • Thread