Skip navigation.
 
mlRe: SubViews and Events
FROM : Uli Kusterer
DATE : Wed Aug 16 17:44:30 2006

Am 16.08.2006 um 16:17 schrieb Jerrod Fowkes:

> however each of the views' rect in their respective drawRect does 
> not correspond to the rect that it was initialized with. Which is a 
> problem, because they keep drawing over the first subView.


The rect you get to drawRect: is the area of your view that needs 
updating (in your view's coordinate system). The actual rect of the 
view must be obtained via the bounds and frame methods. It might help 
if you had another look at the docs to make sure you didn't miss 
other similar details.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de

Related mailsAuthorDate
mlSubViews and Events Jerrod Fowkes Aug 15, 21:55
mlRe: SubViews and Events I. Savant Aug 15, 23:19
mlSubViews and Events Erik Buck Aug 16, 01:44
mlRe: SubViews and Events Jerrod Fowkes Aug 16, 14:58
mlRe: SubViews and Events I. Savant Aug 16, 15:01
mlRe: SubViews and Events Jerrod Fowkes Aug 16, 16:17
mlRe: SubViews and Events Uli Kusterer Aug 16, 17:44