I have read and understand the answer given in this question:
How do I create delegates in Objective-C?
However, I wish to set a delegate to my main application window and was wondering where in my application I can do that - in my AppDelegate class, or somewhere else?