Re: question of a beginner: implementing a custom view for an AU Instrument
Re: question of a beginner: implementing a custom view for an AU Instrument
- Subject: Re: question of a beginner: implementing a custom view for an AU Instrument
- From: tahome izwah <email@hidden>
- Date: Wed, 15 Sep 2010 10:39:39 +0200
Did you add the Cocoa.framework to the project?
--th
2010/9/15 Fabien Auréjac <email@hidden>:
> 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