You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: