Re: CALayer disappears on view resize...

2014-08-27 Thread Peters, Brandon
Never mind, I missed a call to super. I will look into the guide in more detail. Thank you. On Aug 27, 2014, at 10:43 PM, Brandon Peters wrote: > Kyle, > > I noticed the guide mentioned overriding setFrameSize. In a test run I > noticed that overriding this method did away with the view size

Re: CALayer disappears on view resize...

2014-08-27 Thread Peters, Brandon
Kyle, I noticed the guide mentioned overriding setFrameSize. In a test run I noticed that overriding this method did away with the view size constraints I setup in IB. Is that expected behavior for overriding such method? On Aug 27, 2014, at 9:56 PM, Kyle Sluder wrote: > On Wed, Aug 27, 2014,

Re: CALayer disappears on view resize...

2014-08-27 Thread Kyle Sluder
On Wed, Aug 27, 2014, at 08:17 PM, Peters, Brandon wrote: > Devs, > > I have a NSScrollview with and NSImageView as its document view. I have a > sublayer for the scrollview that serves my selection rect. When I load an > image I can pressed down and draw the selection rect, but as soon as I > res

CALayer disappears on view resize...

2014-08-27 Thread Peters, Brandon
Devs, I have a NSScrollview with and NSImageView as its document view. I have a sublayer for the scrollview that serves my selection rect. When I load an image I can pressed down and draw the selection rect, but as soon as I resize the window, the rect disappears but the image remains. As the w