A simple UIView subclass that allows you to draw tube line stops.
This class draws parts of the line, these parts could be the beginning of the line, the end, forks, unions etc. You can see here different types:
You have a fully functional demo in TubeLineStops folder.
var stop: TubeLineStop()
stop.lineColor = UIColor.red
stop.stopType = .tailLeft
TubeLineStops is available under the MIT license. See the LICENSE file for more info.
If you use it, i'll be happy to know about it.