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

Error when converting to Swift 3 #4

Open
nisreen-nj1700648 opened this issue Jun 19, 2017 · 0 comments
Open

Error when converting to Swift 3 #4

nisreen-nj1700648 opened this issue Jun 19, 2017 · 0 comments

Comments

@nisreen-nj1700648
Copy link

I'm having an error when I have migrated my code from Swift2 to Swift3:
Line: let writeBuffer = UnsafePointer(frame!.bytes+total)
Error : cannot invoke initializer of type UnsafePointer' with an argument list of type '(UnsafeRawPointer)'

Line : let bytes = UnsafePointer((buffer+offset))
Error : 'init' is unabailable : use ' withMemoryRebount(to: capacity:_ )" to temporarily view memory as another layout-compatible type

and many many errors , please i need a solution .
Thanks

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

No branches or pull requests

1 participant