tmandry / Swindler

macOS window management library for Swift
https://tmandry.github.io/Swindler/docs/main/
MIT License
690 stars 66 forks source link

AXPropertyDelegate.swift Cannot find 'AXError' in scope #95

Open GanZhiXiong opened 1 year ago

GanZhiXiong commented 1 year ago
(29, 17) Cannot find 'AXError' in scope
(36, 17) Cannot find 'AXError' in scope
(39, 54) Cannot find 'AXError' in scope
(51, 17) Cannot find 'AXError' in scope
(53, 17) Cannot find 'AXError' in scope
(60, 17) Cannot find 'AXError' in scope
(62, 17) Cannot find 'AXError' in scope
(61, 48) Cannot find 'AXError' in scope
(65, 54) Cannot find 'AXError' in scope
(80, 18) Cannot find 'AXError' in scope
GanZhiXiong commented 1 year ago

Solved by adding import Cocoa. I found that the main branch has import Cocoa, and the version of Swindler I use is 0.0.5, so the author should release a new version.

PnsDev commented 1 year ago

+1