• 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: Notifications with an autoreleased object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notifications with an autoreleased object?


  • Subject: Re: Notifications with an autoreleased object?
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 7 Apr 2002 13:27:57 +0200

On Sunday, April 7, 2002, at 02:13 , Rich Long wrote:

My understanding of autorelease objects is that they go away at the end of the current event handler,

...unless retained by someone...

so are notifications handled within an event context?

...like the notification. So, there's no problem (unless there is a bug of forgotten retain in NSNotification implementation, which I doubt -- at least, I've never encoutered it), whatever long the notification takes.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Notifications with an autoreleased object? (From: Rich Long <email@hidden>)

  • Prev by Date: Re: compiled language
  • Next by Date: Re: Color entire table view row
  • Previous by thread: Notifications with an autoreleased object?
  • Next by thread: Re: Notifications with an autoreleased object?
  • Index(es):
    • Date
    • Thread