Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift3 and GlimpseXML after converting from Swift2 #10

Open
anji-fosms opened this issue Nov 18, 2016 · 0 comments
Open

Swift3 and GlimpseXML after converting from Swift2 #10

anji-fosms opened this issue Nov 18, 2016 · 0 comments

Comments

@anji-fosms
Copy link

anji-fosms commented Nov 18, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant