SyntaxFix
Write A Post
Hire A Developer
Questions
I had to recode like this:
let path = NSBundle.mainBundle().pathForResource("Output_5", ofType: "xml") let text = try? NSString(contentsOfFile: path! as String, encoding: NSUTF8StringEncoding) print(text)