标签: objective-c arrays swift core-graphics
我得到的UnsafeMutablePointer<CGPoint>指向一个或两个元素的数组,我想构建一个将UnsafeMutablePointer<CGPoint>转换为CGPoint的Swift函数,这不需要我指定数组的预期大小,是否可能?
UnsafeMutablePointer<CGPoint>
CGPoint
谢谢