• 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: [FAQ?] re>x-code template project for AU with cocoa view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: "tahome izwah" <email@hidden>
  • Date: Sun, 23 Mar 2008 23:25:06 +0100

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [FAQ?] re>x-code template project for AU with cocoa view
      • From: William Stewart <email@hidden>
References: 
 >no resizeindicator in AU window (Logic 8) (From: Sunil Baek <email@hidden>)
 >[FAQ?] re>x-code template project for AU with cocoa view (From: Walt <email@hidden>)
 >Re: [FAQ?] re>x-code template project for AU with cocoa view (From: Michael Hopkins <email@hidden>)

  • Prev by Date: Re: AU Question: Host Tempo Callback
  • Next by Date: Re: kConverterPrimeMethod_None not working on Tiger
  • Previous by thread: Re: [FAQ?] re>x-code template project for AU with cocoa view
  • Next by thread: Re: [FAQ?] re>x-code template project for AU with cocoa view
  • Index(es):
    • Date
    • Thread