Re: Cocoa - Naive questions about memory
Re: Cocoa - Naive questions about memory
- Subject: Re: Cocoa - Naive questions about memory
- From: Oscar Morales Vivó <email@hidden>
- Date: Wed, 7 May 2003 12:14:26 +0200
- if you use a Cocoa function that returns a pointer, it has been
autoreleased.
That's only for 'factory methods' (usually '+' methods but not always).
If an object returns an already existing object then no autorelease
will be made on it (you can retain/release it, obviously).
/*
Oscar Morales Vivs
Eternal Computer Science Student. Master of C++ Templates. Cocoa Nut.
Computer Graphics Illuminati. UI Guru in Training. Dabbler in all
things CS and most which are not.
Web stuff:
http://homepage.mac.com/oscarmv/
*/
_______________________________________________
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.