self.treasures = [Treasure(what: "hi", longitude: -37, latitude: 78),]“这样的对象时,它运行得很好,但是当我尝试插入'HistoryTreasure‘类型的对象(’HistoryTreasure‘的子类)时,它会显示错误:”使用未解析的标识符'HistoryTreasure'“。发布于 2015-04-03 12:35:34
self.treasures = [HistoryTreasure(what: "hi", year: 1992, latitude: -37, longitude: 420)]
https://stackoverflow.com/questions/29424963
复制相似问题