csabau / BTracking

Other
0 stars 0 forks source link

create makePath function #4

Open csabau opened 2 years ago

mhamilt commented 2 years ago

what is the fingerprint of the function? don't worry about what it does maybe pin down it's inputs and outputs first

mhamilt commented 2 years ago

let me make a suggestion

/// Create a UIVIew Containing a simple straight linePat
private func makePath(from: CGPoint, to: CGPoint) -> UIView {

  let pathView = UIView(frame: frame)

  // Do whatever it is you need to do

  return pathView
}