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

Re: NSOperation and NSAutoreleasePool


  • Subject: Re: NSOperation and NSAutoreleasePool
  • From: Graham Cox <email@hidden>
  • Date: Sat, 7 Mar 2009 17:19:18 +1100


On 07/03/2009, at 5:02 PM, Roland King wrote:

seems probably wrong if delegate is a retained property, that will just extra-retain it. Your new code

	delegate = tDelegate;

doesn't retain it at all, one of the following should be the right way to do it


Bearing in mind that typically delegates are NOT retained:

http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CommunicatingWithObjects/chapter_6_section_8.html#/ /apple_ref/doc/uid/TP40002974-CH7-SW16


--Graham


_______________________________________________

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: 
 >Fwd: NSOperation and NSAutoreleasePool (From: Aaron Wallis <email@hidden>)
 >Re: NSOperation and NSAutoreleasePool (From: Kyle Sluder <email@hidden>)
 >Re: NSOperation and NSAutoreleasePool (From: Aaron Wallis <email@hidden>)
 >Re: NSOperation and NSAutoreleasePool (From: Roland King <email@hidden>)

  • Prev by Date: Re: NSOperation and NSAutoreleasePool
  • Next by Date: Re: NSOperation and NSAutoreleasePool
  • Previous by thread: Re: NSOperation and NSAutoreleasePool
  • Next by thread: Draw NSBezierPath inside a PDFPage
  • Index(es):
    • Date
    • Thread