Hi,
I'm probably overlooking something obvious here. CFError is toll-free bridged with NSError, so I should just be able to do this*:
let myCFError: CFError? = nil
let myNSError: NSError? = myCFErrorBut this does not compile as "'CFError?' is not convertible to 'NSError?'"
Force casting thows a warning that "Cast from 'CFError? to 'NSError?' always fails":
let myCFError: CFError? = nil
let myNSError: NSError? = myCFError as! NSError?What am I doing wrong here?