Object with +0 retain counts returned to caller where a +1 (owning) retain count is expected
Object with +0 retain counts returned to caller where a +1 (owning) retain count is expected
- Subject: Object with +0 retain counts returned to caller where a +1 (owning) retain count is expected
- From: Hamish Allan <email@hidden>
- Date: Thu, 3 Sep 2009 21:28:09 +0100
Hi,
I'm loving Build and Analyze, but in ASyncSocket an Obj-C method
returning a CFSocketRef whose name is
createAcceptSocketForAddress:error: is chastised for returning an
object with a +1 retain count without being called copy/new/alloc.
Should the CF naming conventions not apply when a CF object is being
returned?
Thanks,
H
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden