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