Re: A Data Object in Cocoa
Re: A Data Object in Cocoa
- Subject: Re: A Data Object in Cocoa
- From: Jens Bauer <email@hidden>
- Date: Fri, 9 Jan 2009 16:25:54 +0100
You're right, it's not needed, and furthermore, I just checked, the
warnings won't disappear.
Everyone, disregard what I wrote about self->
I believe that prefixing the parameters is most likely the best way
(and as a good example for us, the guys at Apple does it as well).
Love,
Jens
On Jan 9, 2009, at 16:09, Thomas Davie wrote:
self is a pointer, so you might want to change "self." into "self->"
No need to do that – assuming that label, pin and seed are declared
as properties, which, this being a container class I guess they
are. This also destroys the need to play with retaining that you
were talking about (assuming the property is set up correctly to
generate code that retains values).
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden