Is there a way to find out what NSImageView is in? I put it in a storyboard but I can't connect the NSWindow, only the NSImageView and when I try to close it, there's a big gray square left.
NSWindow an NSImageView is in?
I figured it out it's just -window. I looked and looked and looked and never saw that until i posted! Duh!
So to show a splash screen when the program starts, I have this:
NSWindow *myWindow = [_Trains window];
[myWindow makeKeyWindow];
[myWindow makeMainWindow];
[myWindow performSelector:@selector(close:) withObject:nil afterDelay:4.0];