对于做为数据Model的类来说,让其实现NSCoding协议是个好习惯
it’s just good habit to conform data model classesto
It’s okay to redefine properties to be more permissive thanthe
same property as declared in a protocol to which you’veconformed, or as declared in
your superclass. You can always redefine a readonly or writeonlyproperty to be
readwrite, but you have to explicitly use the readwrite keyword.Most of the time, that
keyword isn’t used because it’s the default value and unnecessary