Swift 3.0 Unsafe World

Roberto Perez (via Hacker News): But, what if we want to take a pointer to a Swift managed memory without having to create a function? To do it we will use withUnsafeMutablePointer, that will take a reference to a Swift type and a block with the pointer as it’s parameter.[…]When dealing with C API you … Continue reading Swift 3.0 Unsafe World