cocoa: search window prototype