retain before [NSImageView setImage:] ?
retain before [NSImageView setImage:] ?
- Subject: retain before [NSImageView setImage:] ?
- From: nicolas berloquin <email@hidden>
- Date: Fri, 3 May 2002 20:27:08 +0200
Hi !
the online docs don't say whether NSImageView calls retain on the image
you pass as a parameter to setImage: .
should I retain/release it myself, or is everything taken care of by
cocoa ?
and what if I call setImage: a second time with a different image ?
thanks
_______________________________________________
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.