• 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: Sharing a view between NSWindow instances
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sharing a view between NSWindow instances


  • Subject: Re: Sharing a view between NSWindow instances
  • From: PGM <email@hidden>
  • Date: Mon, 17 Sep 2007 10:32:42 -0400


[[[[SCIView alloc] init] retain] autorelease]

Are you releasing this view somewhere else? If so, the retain and autorelease are not necessary. If you aren't releasing this view at another spot in your code, you are leaking memory, and [[[SCIView alloc] init] autorelease] should suffice.


Patrick
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Sharing a view between NSWindow instances (From: "ad veloper" <email@hidden>)

  • Prev by Date: Re: connection kit
  • Next by Date: Re: Capturing the right display, but rendering to the wrong one.
  • Previous by thread: Re: Sharing a view between NSWindow instances
  • Next by thread: Setting up relationship via drag and drop
  • Index(es):
    • Date
    • Thread