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

Re: NSWindowController


  • Subject: Re: NSWindowController
  • From: Peter Lübke <email@hidden>
  • Date: Sun, 27 Feb 2011 13:29:42 +0100

BTW, is there a particular reason why you retain m_designViewerController ? A newly allocated object *is* a retained object.
It will need one extra entire line of code to send a -release message to the object for it not to leak :-)


-Peter

Am 26.02.2011 um 09:08 schrieb koko:


1 m_designViewerController = [[[NSWindowController alloc] initWithWindowNibName:@"DesignViewer"] retain];

_______________________________________________

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: 
 >NSWindowController (From: koko <email@hidden>)
 >Re: NSWindowController (From: Louis Demers <email@hidden>)
 >Re: NSWindowController (From: koko <email@hidden>)
 >Re: NSWindowController (From: koko <email@hidden>)

  • Prev by Date: Re: "context-aware" bindings
  • Next by Date: Re: First Responder
  • Previous by thread: Re: NSWindowController
  • Next by thread: XCode question: "Copy Header" build step doesn't work for my Framework target.
  • Index(es):
    • Date
    • Thread