SwiftQRCode
SwiftQRCode copied to clipboard
Error when convert to Swift3
Hello, when i covert it to swift 3 it not work, look the errors, can you help me ?

Hello Guys, News...
i change this function and it builded perfect but works :( look my code:
func createPath(_ points: NSArray) -> UIBezierPath {
let path = UIBezierPath()
var point = CGPoint()
var index = 0
index+=1;
CGPoint.init(dictionaryRepresentation: (points[index] as! CFDictionary))
path.move(to: point)
while index < points.count {
index+=1;
CGPoint.init(dictionaryRepresentation: (points[index] as! CFDictionary))
path.addLine(to: point)
}
path.close()
return path
}