I am writing iOS application for iPad that require custom layout.

The layout from portrait and landscape are totally difference, so it can't be solve by using UIAutoResizingMask.

I try to use the layoutSubview Method, but I detected that layout subview is called a lot (from UIScrollView).
How can i reduce the layoutSubview call to optimize the code , or I should call it by my self when ever the device is rotated. 

Thank.


Question: How do I deal with a slow and undedicated colleague in the team?
Answer: I've just read "The Clean Coder" by R.C. Martin (Uncle Bob).  The main point of the book is that programmers in general don't get much respect because they are not behaving professionally.  That means mainly that they don't communicate effectively with management about the status of the project.  

Lying is certainly a very very bad form of communication.  Your colleague is being extremely unprofessional and so are you.  You both are doing nothing good to improve the perception of programmers.

I would advise you to go right away to management.  However, I have gotten in trouble in the past for having been too "honest" (in some unrelated situation), so I'm not sure you should take my advice.
Also, as many have pointed out, maybe your perception of the situation is not as accurate as you think.