ファイル操作の実行後にコールバックを取得しようとしましたが、NSWorkspaceDidPerformFileOperationNotification の投稿をキャッチできません。
[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(finderDidFileOperation:) name:NSWorkspaceDidPerformFileOperationNotification object:[NSWorkspace sharedWorkspace]];
[[NSWorkspace sharedWorkspace] performFileOperation:fileOp source:source destination:item.fullPath files:objects tag:&tag];
オブジェクト:なし
また、動作しませんでした
[[NSWorkspace sharedWorkspace] addObserver:self forKeyPath:NSWorkspaceDidPerformFileOperationNotification options:NSKeyValueObservingOptionNew context:nil];
それも。
私は何を間違っていますか?