Skip navigation.
 
mlRemoving/Adding views in drawRect:
FROM : Mike R. Manzano
DATE : Wed Aug 30 20:40:16 2006

(1) Is it prudent to add or remove subviews in drawRect:?

If not,

(2) Is it prudent to add or remove views somewhere else during a 
window live resize?

I would like to add/remove NSTextViews in response to window resize 
events and do it in a way that the text reflows correctly while the 
resize occurs.

Regards,

    ~    Mike
        alephx01 (at) mac (dot) com

Related mailsAuthorDate
mlRemoving/Adding views in drawRect: Mike R. Manzano Aug 30, 20:40
mlRe: Removing/Adding views in drawRect: Uli Kusterer Aug 30, 22:56
mlRe: Removing/Adding views in drawRect: Andrew Merenbach Aug 31, 06:58
mlRe: Removing/Adding views in drawRect: Mike R. Manzano Aug 31, 20:05