• 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: beginSheet simple question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: beginSheet simple question.


  • Subject: Re: beginSheet simple question.
  • From: Scott Andrew <email@hidden>
  • Date: Thu, 25 Aug 2005 09:58:21 -0700

As usual joar thanks.


On Aug 25, 2005, at 8:28 AM, j o a r wrote:


On 25 aug 2005, at 17.22, Scott Andrew wrote:


loginController = [[PBLoginPanelController alloc] initWithServer: server];
[loginController retain];



This is almost certainly a memory management error, and a memory leak waiting to happen...
When you allocate a new object it already have a net positive retain count, no need to retain it more.



Does all execution stop at beginSheet?


No. Contrary to an application modal dialog, execution doesn't stop for a document modal dialog.


j o a r




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >beginSheet simple question. (From: Scott Andrew <email@hidden>)
 >Re: beginSheet simple question. (From: j o a r <email@hidden>)

  • Prev by Date: Re: Compiler Warning - unknown Method
  • Next by Date: RE: QTMovieView in a split view - very weird stuff (SOLVED - oddly)
  • Previous by thread: Re: beginSheet simple question.
  • Next by thread: LevelWindow for Dashboard?
  • Index(es):
    • Date
    • Thread