을 구현하기 위해 기존의 NSCoding 방법을 사용하지 않도록 모든 이유는 copyWithZone의 구현한다는 NSCoding를 구현하는 클래스를 제공하는 이유가NSCopying
-(instancetype)copyWithZone:(NSZone *)zone{
return [NSKeyedUnarchiver unarchiveObjectWithData:[NSKeyedArchiver archivedDataWithRootObject:self]];
}
'encodeWithCoder :'는 무겁거나 쉽게 만들거나 재 작성해야하는 것을 건너 뛸 수 있습니다. 덕분에 –