Swift : Type XXX must conform to protocol 'NSObjectProtocol' Swift : Type XXX must conform to protocol 'NSObjectProtocol' ios ios