Hi !
I have some trouble understanding this implementation:
- copyWithZone:(NSZone *)zone
{
ImageAndTextCell *cell = (ImageAndTextCell *)[super
copyWithZone:zone];
cell->image = [image retain];
return cell;
}
It is from the Apple's sample code.
First question is why there is no return type declared in front of
copyWithZone: (probable - id - type) ?
Second question is what this sign stands (means) for: -> (in cell-
>image = [image retain];) ?
Could that line be written somehow different (like any other objc
message) ?
Basically, I'm asking for a child-like explanation of this
implementation.
Thanks for your answers in advance. Bye.
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
_______________________________________________
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