Hello all, I have bought a book on iPhone SDK and the very first tutorial doesnt even work (have since read review on it which turned out not so good) so have ditched it and decided to go it alone with tutorials on the internet. I have just joined this forum and I have a couple of questions just to my feet wet Regarding the drawrect method, there is one of these in the downloaded example code which works, however I cannot see it being called anywhere in the program. Am I correct in assuming this is automatically called, and if so, what object/function is calling it? There is an object declared of UIWindow *testwindow. I assume that the 'frame' is declared within this object, is this set to a default size? I have seen the method '(void)dealloc' being specified twice, one for each of the two implementations in the example code. I am wondering why two are needed and also are these called automatically too? Thanks in advance.