Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSWindowDidBecomeMainNotification firing for ALL windows
- [[NSNotificationCenter defaultCenter] addObserver:self
- selector:@selector(didBecomeMain:)
- name:NSWindowDidBecomeMainNotification
- object:nil];
- [[NSNotificationCenter defaultCenter] removeObserver:self name: NSWindowDidBecomeMainNotification object:nil];
Add Comment
Please, Sign In to add comment