Re: [FAQ?] re>x-code template project for AU with cocoa view
Re: [FAQ?] re>x-code template project for AU with cocoa view
- Subject: Re: [FAQ?] re>x-code template project for AU with cocoa view
- From: Walt <email@hidden>
- Date: Mon, 24 Mar 2008 18:41:46 -0700
Cool. I was almost embarrassed to mention that this has been broken
for several xcode releases (2.5, 3.0, iPhone SDK) and was pretty much
irrelevant what OS or host app. you used...
Could post a recipe to make the default project template work? It
would be very helpful to have a working example. I believe I have made
the correct changes to my project according to M. Hopkins post, and
still, no dice...
----
On Mar 24, 2008, at 2:49 PM, William Stewart wrote:
We have fixed this for the next dev tools release
On Mar 23, 2008, at 3:25 PM, tahome izwah wrote:
I had the same problem, as did a couple of others here. From what I
can see from my mailbox Stephen Bernsee had filed a bug report (#
5619322) on this issue a while ago - I was busy doing other things so
I don't know if this has been fixed yet.
HTH
--th
2008/3/21, Michael Hopkins <email@hidden>:
Walt,
I'm sorry to hear of your difficulties. The xcode template
projects should
work out of the box. It would be helpful to know what version of
XCode you
are using, what OS, and what host application are you running with.
Did you change any of the class names of the cocoa classes in the
project?
AudioUnits with cocoa UI's are fairly straightforward, but there
are many
details that have to be exactly right in order for the UI to show
up.
The problem most likely is in your nib file.
1) In the nib file, the file owner needs to be the correct class
for your
factory class that implements the AUCocoaUIBase protocol.
That will be the xx_CocoaViewFactory class. Drag that header
into the IB
window, and change the "File's Owner" item to that class.
2) In the nib file, the owner classes' view outlet needs to be the
correct
class for your view and the outlet needs to be connected
Drag the xxx_CocoaView.h into the IB window and change the
class of the
"uiFreshlyLoadedView" to that class and make sure the outlet is
connected
(from that outlet to the CocoaView NSView object).
Most likely that will solve your problem.
The easiest way to narrow down where the problem is occurring is
to run
AUVal on your audio unit and check to see if it is reporting a
cocoa view.
We can then go from there.
Hope this helps!
-michael
CoreAudio Pixel Pusher
Apple Inc
On Mar 21, 2008, at 1:56 PM, Walt wrote:
Apologies if this has been asked a thousand times, a cursory
search turned
up many unrelated results.
What changes do you have to make to the example project so that it
actually
displays a cocoa view? One rather assumed the thing would work out
of the
box...
TIA
_______________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.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
_______________________________________________
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