• 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: AUCarbonViewBase cleanup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUCarbonViewBase cleanup


  • Subject: Re: AUCarbonViewBase cleanup
  • From: "Mark's Studio" <email@hidden>
  • Date: Thu, 18 Nov 2004 20:03:50 +0100

Yes, i have this but it's never called ? (Im testing in Peak 4.1, that has a lot of other weird stuff i have to sort out)

MyCustomEditView::~MyCustomEditView(){
NSAutoreleasePool *localPool;
localPool = [[NSAutoreleasePool alloc] init];


Cocoa stuff release.....
[localPool release];




}

On 18/11-2004, at 19:43, Marc Poirier wrote:

You do your clean-up in MyCustomEditView desctructor. Realize, though, that it's possible for the AUCarbonView to be created (and therefore MyCustomEditView constructor called) and then deleted without CreateUI ever happening, so you just want to make sure in your clean-up code that you not assume that any of the stuff in CreateUI actually was created.

Marc



On Thu, 18 Nov 2004, Mark's Studio wrote:

In MyCustomEditView::CreateUI(Float32 xoffset, Float32 yoffset)
i create some Cocoa stuff, and that's all fine.
but i need to release the Cocoa stuff when the Carbon view is not needed anymore.

What function is called when the AUCarbonView is to cleanup ?



Peter Mark


Peter Mark

Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
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

  • Follow-Ups:
    • Re: AUCarbonViewBase cleanup
      • From: William Stewart <email@hidden>
References: 
 >AUCarbonViewBase cleanup (From: "Mark's Studio" <email@hidden>)
 >Re: AUCarbonViewBase cleanup (From: Marc Poirier <email@hidden>)

  • Prev by Date: Re: AUCarbonViewBase cleanup
  • Next by Date: Re: AUCarbonViewBase cleanup
  • Previous by thread: Re: AUCarbonViewBase cleanup
  • Next by thread: Re: AUCarbonViewBase cleanup
  • Index(es):
    • Date
    • Thread