taichino / PopupTest

Statusbar app on Mac with popup (Yosemite or later)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swift 3.0 compatibily

ingconti opened this issue · comments

Xcode conversion makes an amazing work, but you got 2 compilation error, easy to fix:

var popoverMonitor: AnyObject?                  ->   var popoverMonitor: Any?

if let monitor : AnyObject = popoverMonitor {        ->    if let monitor : Any = popoverMonitor {

so simply change AnyObject to Any.

UP. Could you please update this repo with Swift 3.0 implementation. Shouldn't take more than automatic upgrade with Xcode and couple of fixes