0
我在使用Xcode 8在Swift 2.2中打开项目时很难使用ZBar库。我一直使用桥来运行这个库,但是在xcode上我立即对ZbarSymbolSet进行了红色扩展。 Use of undeclared type 'ZbarSymbolSet'
Zbar问题(ZbarSymbolSet)和Xcode8
//Extension for Zbar
extension ZBarSymbolSet: SequenceType {
public func generate() -> NSFastGenerator {
return NSFastGenerator(self)
}
}