I have read and understand the answer given in this question:
http://stackoverflow.com/questions/626898/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?