Re: Auto Layout Log Warning Message
Re: Auto Layout Log Warning Message
- Subject: Re: Auto Layout Log Warning Message
- From: Rob Petrovec <email@hidden>
- Date: Thu, 10 Sep 2015 23:33:26 -0600
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 <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden