A Better Drawing Routine For Quartz
In order to support GradientLine it was necessary to go all the way down to the core , namely Quartz which is part of CoreGraphics. So currently implementing a routine to support GradientLine Directly.
Drawing A Gradient Line In Osx
There are a couple of ways to do it
Swift Event Research
Delegation vs NsNotificationCenter vs Custom Event system