Method 'copyWithZone:' in protocol not implemented

警告如下

Method 'copyWithZone:' in protocol not implemented_第1张图片

解决办法:仔细查查是不是继承错了协议,以为:NSCopying和NSCoding实在是太像了,(我们要继承的是NSCoding不是NSCopying)不仔细根本查不出来

Method 'copyWithZone:' in protocol not implemented_第2张图片

你可能感兴趣的:(Method 'copyWithZone:' in protocol not implemented)