Hi All,
After converting the GlimpseXML from Swift to Swift3 i am getting the below error
" ‘init’ is unavailable: use ‘withMemoryRebound(to:capacity:)’ to temporarily view memory as another layout-compatible type_."
at the line if let str = stringFromFixedCString(UnsafeBufferPointer(start: UnsafePointer(buf), count: Int(buflen))) {
string = str
}
in serialize(indent: Bool = false) and serialize(indent: Bool = false, encoding: String? = "utf8") functions of GlimpseXML.swift file. I have tried to address these issues but could not succeeded. Please give me some suggestions in this regard.
Hi All, After converting the GlimpseXML from Swift to Swift3 i am getting the below error
" ‘init’ is unavailable: use ‘withMemoryRebound(to:capacity:)’ to temporarily view memory as another layout-compatible type_."
at the line if let str = stringFromFixedCString(UnsafeBufferPointer(start: UnsafePointer(buf), count: Int(buflen))) { string = str } in serialize(indent: Bool = false) and serialize(indent: Bool = false, encoding: String? = "utf8") functions of GlimpseXML.swift file. I have tried to address these issues but could not succeeded. Please give me some suggestions in this regard.
Thanks Anji