模块'ConvenienceKit'没有名为'removeObject'的成员

时间:2016-04-07 20:27:19

标签: ios xcode swift

我的项目中出现错误:Module 'ConvenienceKit' has no member named 'removeObject'

我似乎无法弄清楚缺少什么。我做了一个什么都没做的函数public。也许我可以初始化房产?如果是这样的话?

public func removeObject(object: T) {
  ConvenienceKit.removeObject(object, fromArray: &self.content)
  currentRange.endIndex = self.currentRange.endIndex - 1
  target?.tableView.reloadData()
}

我的完整错误消息:

/Users/nikolai_georgie/Downloads/Makestagram-Swift-Solution-master 2/Frameworks/ConvenienceKit/ConvenienceKit/ConvenienceKit/UIKit/TimelineComponent.swift:90:5: Module 'ConvenienceKit' has no member named 'removeObject'

0 个答案:

没有答案