Notifications with an autoreleased object?
Notifications with an autoreleased object?
- Subject: Notifications with an autoreleased object?
- From: Rich Long <email@hidden>
- Date: Sat, 6 Apr 2002 19:13:57 -0500
I am posting some notifications with an object that has been
autoreleased (as, for example, [postNotificationName: foo object:
autoreleased-obj]). This seems to work fine, but is it OK?
My understanding of autorelease objects is that they go away at the
end of the current event handler, so are notifications handled within
an event context?
Thanks for any help...
Rich
_______________________________________________
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.