I want to take screenshot programmatically in Swift, macOS I followed the below link Programmatically Screenshot | Swift 3, macOS Code is here
var displayCoun