new = [super copyWithZone:_zone];
- ASSIGNCOPY(new->uid, self->uid);
- ASSIGNCOPY(new->summary, self->summary);
- new->timestamp = self->timestamp;
- ASSIGNCOPY(new->created, self->created);
- ASSIGNCOPY(new->lastModified, self->lastModified);
- ASSIGNCOPY(new->startDate, self->startDate);
- ASSIGNCOPY(new->accessClass, self->accessClass);
- ASSIGNCOPY(new->priority, self->priority);
- ASSIGNCOPY(new->alarms, self->alarms);
- ASSIGNCOPY(new->organizer, self->organizer);
- ASSIGNCOPY(new->attendees, self->attendees);
- ASSIGNCOPY(new->comment, self->comment);
- ASSIGNCOPY(new->sequence, self->sequence);
- ASSIGNCOPY(new->location, self->location);
- ASSIGNCOPY(new->status, self->status);
- ASSIGNCOPY(new->categories, self->categories);
- ASSIGNCOPY(new->userComment, self->userComment);
+ new->uid = [self->uid copyWithZone:_zone];
+ new->summary = [self->summary copyWithZone:_zone];
+ new->timestamp = self->timestamp;
+ new->created = [self->created copyWithZone:_zone];
+ new->lastModified = [self->lastModified copyWithZone:_zone];
+ new->startDate = [self->startDate copyWithZone:_zone];
+ new->accessClass = [self->accessClass copyWithZone:_zone];
+ new->priority = [self->priority copyWithZone:_zone];
+ new->alarms = [self->alarms copyWithZone:_zone];
+ new->organizer = [self->organizer copyWithZone:_zone];
+ new->attendees = [self->attendees copyWithZone:_zone];
+ new->comment = [self->comment copyWithZone:_zone];
+ new->sequence = [self->sequence copyWithZone:_zone];
+ new->location = [self->location copyWithZone:_zone];
+ new->status = [self->status copyWithZone:_zone];
+ new->categories = [self->categories copyWithZone:_zone];
+ new->userComment = [self->userComment copyWithZone:_zone];
return new;
}