Convert from UnsafeMutableRawPointer to UnsafeMutablePointer, which approach is correct?

前端 未结 0 857
深忆病人
深忆病人 2020-12-30 07:37

To convert from UnsafeMutableRawPointer to UnsafeMutablePointer, both the approach works. (I\'m using Swift 5.2)

// Approach 1
let unsafeMutablePointer = Unsa         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题