• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AutoLayout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AutoLayout


  • Subject: AutoLayout
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Thu, 25 Dec 2014 13:22:26 +0700

OS X 10.10.1; Xcode Version 6.1.1 (6A2008a)

A window has:

Content View → NSSplitView

top split 	NSView → NSBox → 2 NSTextFields + NSScrollView → NSClipView → NSTableView
bottom	NSView → NSBox → NSScrollView → NSClipView → NSTextView

Xcode shows no warnings.

App works fine, but the first time this window is shown I see:

"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 Autolayout.  The former is pretty likely to arise if some pre-Cocoa Autolayout class had a method called layout, but it should be fixed."

There is no "method called layout".
Neither NSScrollView nor any of its superclasses have been overridden by me.

So remains: "something may have dirtied layout in the middle of updating it".

How can this happen; how to debug this?

Gerriet.


_______________________________________________

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


  • Prev by Date: [ANN] PDF Page Builder
  • Next by Date: Regenerating the dock image of a miniaturized NSWindow
  • Previous by thread: [ANN] PDF Page Builder
  • Next by thread: Regenerating the dock image of a miniaturized NSWindow
  • Index(es):
    • Date
    • Thread