Source

MYUtilities / UniqueWindowController.m

Diff from to

UniqueWindowController.m

 + (UniqueWindowController*) instanceWith: (id)model
 {
     for( NSWindow *window in OpenWindowsWithDelegateClass(self) ) {
-        UniqueWindowController *c = window.delegate;
+        UniqueWindowController *c = (id) window.delegate;
         if( [self isModel: c.model equalToModel: model] )
             return c;
     }