on 2008-07-05 5:56 PM, Chris Hanson at [EMAIL PROTECTED] wrote: > On Jul 5, 2008, at 2:23 PM, Bill Cheeseman wrote: > >> So, I guess my frameworks should declare ... >> >> __strong CGEventRef myEvent; >> __strong AXUIElementRef myUIElement; >> >> ... if I am going to advertise the frameworks as supporting both >> retain/release and garbage collection. Is that right? > > That's correct.
Thanks. This and your other comments are very helpful. I see them all echoed in the Apple documentation, but I must say that the Apple documentation is pretty bare-bones at this point. For example, it would be very helpful to have some good examples of ways to move cleanup code out of dealloc/finalize and into what you call "deterministic" methods. I suppose delegate methods like -windowWillClose will do the trick, but I'll have to examine my code pretty closely to get this straight. -- Bill Cheeseman - [EMAIL PROTECTED] Quechee Software, Quechee, Vermont, USA www.quecheesoftware.com PreFab Software - www.prefabsoftware.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]