Hi,
Since the methods -release, -retain and -autorelease are no-ops with
GC only enabled, How do I release everything associated with an ivar
(pointer to a class) in AppController?
Currently I'm doing it by setting this pointer as nil. Is it ok?
Also when I follow certain steps, this pointer gets a lot of memory
attached, down the line. which gets released (when I set it to nil) as
per Obj-Alloc instrument.
But when following another certain steps, this memory doesn't get
released (when setting this pointer nil), why? With GC only enabled
this should get freed up.
Thanks,
Nick
_______________________________________________
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