When declaring NSCoding
protocol, I get the error Type ‘Item’ does not conform to ‘NSCoding’
Help!
Below is a picture
as per NSCoding protocol, in order to conform to it, you must implement mandatory methods:
func encode(with aCoder: NSCoder)
init?(coder aDecoder: NSCoder)
