I\'m using this code to bring up my window:
[self.window makeKeyAndOrderFront:self]; [self.window setOrderedIndex:0];
But often it will be
Perhaps you want:
[self.window setCollectionBehavior: NSWindowCollectionBehaviorCanJoinAllSpaces];
Experiment with the other collection behaviors... I found NSWindowCollectionBehaviorMoveToActiveSpace was a bit buggy in 10.5 but it might be better now.
NSWindowCollectionBehaviorMoveToActiveSpace