Can any help me with making custom MKPolyline with additional argument Color?
MKPolyline
CustomPolyline.swift
import Foundation im
Another solution most easy:
extension UIColor { static var rendererColor: UIColor { return UIColor(red: 65/255, green: 65/255, blue: 65/255, alpha: 1) } }
And the use:
renderer.strokeColor = UIColor.renderer