• 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: "Kevin Dixon" <email@hidden>
  • Date: Sat, 22 Mar 2008 05:38:28 -0400 (EDT)
  • Importance: Normal

I recently also embarked on a cocoa AU and hit this same issue. To add to
what Mike has said, you *will* need to change the CocoaView and
CocoaViewFactory class names to get the view to appear under Logic (tested
with v 8 anyway)

> 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

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: kConverterPrimeMethod_None not working on Tiger
  • Next by Date: AU Latency & Logic Live Mode
  • 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