What version of the OS?  Typically this is a bad bug that shouldn’t be ignored. 
 Set a breakpoint on -[NSScrollView setNeedsLayout:] and see what is triggering 
the layout to f the scroll view to get dirtied inside of -layout.  Good luck...

—Rob


> On Sep 9, 2015, at 6:35 AM, Dave <d...@looktowindward.com> wrote:
> 
> Hi,
> 
> I made some changes and now I’m getting the following error message:
> 
> 2015-09-09 13:26:34.424 LTWALTest1[16833:6675944] Layout still needs update 
> after calling -[NSScrollView layout].  NSScrollView or one of its 
> superclasses may have overridden -layout without calling super. Or, something 
> may have dirtied layout in the middle of updating it.  Both are programming 
> errors in Cocoa Auto-layout.  The former is pretty likely to arise if some 
> pre-Cocoa Auto-layout class had a method called layout, but it should be 
> fixed.
> 
> I don’t have layout defined in any of my own classes and I wasn’t getting 
> this error before I updated a view and added some extra controls. I don’t get 
> any XCode/IB errors or warning but I get the above message in the console?
> 
> Should I ignore it? If not how to fix it?
> 
> Thanks a lot
> Dave
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/petrock%40mac.com
> 
> This email sent to petr...@mac.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to