This is EmptySquare.m in view mode; [Download] [Up]
#import "EmptySquare.h" @implementation EmptySquare - mouseEntered: (NXEvent *) theEvent { [[self window] makeSquaresPerform: @selector(checkAdjacencyWith:) with: self]; return self; } /* above, don't do return [...]; someone may depend on return self */ /* Private methods: */ - foundAdjacent { /* we were found to be adjacent by the above */ return [self setIsHighlighted: YES]; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.