Keep an array somewhere with all the windows you've created, and get them from this array.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: