Re: AU Cocoa View cannot be retrieved?
Re: AU Cocoa View cannot be retrieved?
- Subject: Re: AU Cocoa View cannot be retrieved?
- From: Michael Hopkins <email@hidden>
- Date: Wed, 3 May 2006 15:49:00 -0700
Richard,
To change the default view to your own type, select the view in IB
and then in the Inspector, choose Custom Class (cmd-5) from the popup
menu. Then change the class from uiFreshlyLoadedView to ConviCocoaView.
Take a look at the FilterDemo example carefully to see how it
deviates from the default template.
Hope this helps!
-michael
On May 3, 2006, at 4:12 AM, Richard Haig wrote:
Hello,
I am developing an AU with a Cocoa View and the cocoa view is not
showing up when I am testing my plugin. When I load it in AU Lab,
it loads the default AU interface (single slider, with parameter
text box). When I run auval in an attempt to verify the plugin,
while "VERIFYING SPECIAL PROPERTIES," it returns "ERROR: Cocoa
Views Information cannot be retrieved." All other properties pass
the check.
I am using my Cocoa View class to read files from the hard drive
and dump them into AudioBuffers.
I have carefully compared my code to the SampleEffectCocoaView code
and can find no discrepancies which are glaring outside of those
resulting from my using CoreAudioSDK v1.4.3 to generate the initial
template code.
The only issue I have found lies in my ConviCocoaView.nib. Within
interface builder, my instance shows up as NSObject -> NSResponder -
> NSView -> CocoaView and I have renamed it within the Interface
Builder classes view to "ConviCocoaView." However within the
instances view it still shows up as CocoaView. When I attempt to
ctrl-drag a connection from "File's Owner" to "CocoaView," I get an
error "uiFreshlyLoadedView must be of type CocoaView." How can I
get my instance of CocoaView to be ConviCocoaView and have File's
Owner accept it?
...or is this just a superfluous detail and my problem of not
loading the cocoa view could possibly lie elsewhere?
Thank you,
Richard Haig
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
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