class Market {
var marketName: String? {
get {
return self.marketName
}
set {
self.marketName = newValue
}
}
var square: String? {
get {
return self.square
}
set {
self.square = newValue
}
}
init(marketName: String, square :String)
{
self.marketName = marketName
self.square = square
}
}
为什么我无法初始化变量市场?我有警告:无法加载任何Objective-C类信息。这会在尝试设置变量
时显着降低可用类型信息的质量