I have some classes located on my Document such as NSNotificationCenter and NSUndoManager that I need access to from my subviews.
Right now I can access them by doing something like this:
NSUndoManager *undoManager = [[[[[self view] window] windowController] document] undoManager];
Is there a better approach I don't know about? Thanks.