Menu

#33 copy usage needs review

no_nextstep-branch
open
General (30)
5
2005-12-08
2005-12-08
Will Mason
No

All cases where copy is being called should be reviewed
to ensure that the zone, when OpenStep is present, is
being honored. Thus,

id c = [object copy];

Should be:

id c = [object copyWithZone: [object zone]];

Whenever OpenStep is present.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.