Re: Converting views to use layer backing

2013-10-19 Thread Kenneth Baxter
Thanks Gideon.  Turning on the layer backing for all those levels did fix the redrawing problem. I didn't find out how to fix the layer drawing when the bounds origin has been moved, but I did work out a workaround. I added an instance variable to my view (the scrollview's document view): @pro

Re: Converting views to use layer backing

2013-10-17 Thread Gideon King
I knew I was going to want to do something like that myself so created a small test project. You need to have the scrollview, the clipview, and the document view all layer backed for it to work with the scrollview magnification. You shouldn't need to explicitly set the autoresizesSubviews on. I

Converting views to use layer backing

2013-10-16 Thread Kenneth Baxter
Hi, I have an NSScrollView with a document view which has subviews. All my views are flipped. I am using and targeting 10.8. I am not using autolayout (I tried it and got horribly confused by how it works with scrollviews, so just turned it off) I turned the magnification capabilities of the s