Reputation: 13652
I can successfully hide menu items using
self.hiddenKeys = [NSSet setWithObjects:@"key1",nil];
How can I dynamically hide a child pane sub menu ? Is this possible ?
Upvotes: 0
Views: 137
Reputation: 54113
The same way. Just use the key of the PSChildPaneSpecifier
dictionary in the parent. If you want to animate the change, there's -setHiddenKeys:animated:
.
Upvotes: 2