Hi Jonathan
> A subclass ivar is apparently overwriting a super class ivar.
> When an instance of MGS_B sets stderrData the super class ivar tempFilePath
> gets overwritten.
I'm not sure what you mean here by "overwrite".
@interface Base : NSObject
{
@private
int i;
}
@end
@interface Sub : Base
{
@private
int i;
}
@end
This code demonstrates what I would understand by overwriting, and it fails to
compile. Although, it should be possible to redeclare such private ivars, it
certainly is in C# and Delphi.
Joanna
--
Joanna Carter
Carter Consulting
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]