为什么我会收到一个编译器错误,指示boolOR函数“|”不能以下列方式使用:localEvent=self.window.nextEventMatchingMask(NSEventMask.LeftMouseUpMask|NSEventMask.LeftMouseDraggedMask)编辑:这是我最终发现的工作localEvent=self.window!.nextEventMatchingMask(Int(NSEventMask.LeftMouseUpMask.rawValue|NSEventMask.LeftMouseDraggedMask.rawValue))!