If you have declared a function like this one: func takesAPointer(_ p: UnsafePointer<Float>) { // ... } You can call it in any of the following ways: var x: Float = 0.0 takesAPointer(&x) takesAPointer([1.0, 2.0, 3.0])