On Jan 12, 2010, at 5:47 PM, Roland King wrote: > I didn't understand that bit. "disable/enable methods of NSGarbageCollector", > that seems like a very heavy-handed way to stop a pointer from being > collected, just shutting GC off.
I didn't mean shutting GC off entirely. I meant disabling collection for a pointer temporarily and re-enabling it when you're done, which is one way of solving the problem of passing an object into a function/method that takes a generic pointer. You can do that with NSGarbageCollector. Nick Zitzmann <http://www.chronosnet.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 arch...@mail-archive.com