When to call poseAsClass ?

I have written a NSWindow subclass: when to "poseAsClass" it ?
Whatever the class you want to substitute, do it as early as possible, the main routine is a good place or +load which is called BEFORE main is entered.
There is an interesting article on what you can do and you can't do in
+load at GeoCities site.