• 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: j o a r <email@hidden>
  • Date: Thu, 25 Aug 2005 17:28:35 +0200


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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: beginSheet simple question.
      • From: Scott Andrew <email@hidden>
References: 
 >beginSheet simple question. (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: Converting JPEG Image Greater Than 72dpi To 72dpi
  • Next by Date: Re: Manipulating compound file on Mac?
  • Previous by thread: beginSheet simple question.
  • Next by thread: Re: beginSheet simple question.
  • Index(es):
    • Date
    • Thread