Re: force rendering of views off screen

2010-07-02 Thread Martin Glaß
hello guys, thanks for your comments - i just found the right knob to draw the content of my invisible subview in my uiscrollview. i simply subclassed every subview and implemented -drawRect: additionally using uigraphicsgetcurrentcontext(). @david yeah, this was just simple math to picture the

Re: force rendering of views off screen

2010-06-24 Thread Martin Glaß
yes, you're describing what i want. the problem is that a subview (page) of the main scrollview only calls -drawLayer:inContext: if the user flips to a page, thus that particular page moving into the view/becoming visible. additionally, if the user scrolls through the pages very fast, no content

Re: force rendering of views off screen

2010-06-24 Thread Martin Glaß
sorry, CATiledLayer actually improves performance. the downside is, the tiles need time to be drawn and are faded in using an animation of 0.25 seconds. so, if there are 6 tiles to be drawn you end up seeing iOS building the mosaic in a total of 1.5 seconds. i took some looks at the scroll view

Re: force rendering of views off screen

2010-06-24 Thread David Duncan
On Jun 24, 2010, at 8:59 AM, Martin Glaß wrote: sorry, CATiledLayer actually improves performance. the downside is, the tiles need time to be drawn and are faded in using an animation of 0.25 seconds. so, if there are 6 tiles to be drawn you end up seeing iOS building the mosaic in a total

force rendering of views off screen

2010-06-23 Thread Martin Glaß
hello everyone. i'm totally new to the mac platform but already feel comfortable with the cocoa frameworks. i am developing an ipad app which offers a full screen UIScrollView which itself has several subviews, representing the pages the user can flip through. problem is: every subview renders a

Re: force rendering of views off screen

2010-06-23 Thread Matt Neuburg
On Wed, 23 Jun 2010 14:27:43 +0200, Martin Gla? glas...@googlemail.com said: i am developing an ipad app which offers a full screen UIScrollView which itself has several subviews, representing the pages the user can flip through. problem is: every subview renders a pdf page and does so on-demand,