设置可以直接弹出文件弹窗:
- (void)willOpenMenu:(NSMenu*)menu withEvent:(NSEvent*)event {
if(!self.URL) {
[menu cancelTracking];
}
return;
}
设置可以直接弹出文件弹窗:
- (void)willOpenMenu:(NSMenu*)menu withEvent:(NSEvent*)event {
if(!self.URL) {
[menu cancelTracking];
}
return;
}
本文标题:Mac开发-NSPathControl
本文链接:https://www.haomeiwen.com/subject/zdsnkctx.html
网友评论