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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: