How can I get another application's NSDockTile object in Swift?
My thoughts were I could get an array of NSRunningApplications and access the NSDockTile from there but I can only get the NSDockTile from NSApplication. So I guess another, better question, is there a way to cast a NSRunningApplication to an NSApplication or make an NSApplication object from another app's BundleIdentifier or something?
I apologize in advance for any stupidity as I am new to Swift and Cocoa applications.