I have two NSTableViews in my application, and the user can drag items from table A to table B. When dragging an item to table B, Xcode gives me the following warning message about placement:
The layout still needs to be updated after the call - [NSTableRowView layout]. NSTableRowView or one of its superclasses can have an overridden -layout without calling super. Or something might have a dirty layout in the middle of an update. Both are programming errors in CocoaAutolayout. The first one will most likely occur if some kind of pre- Cocoa Autolayout class had a method called layout, but it should be fixed.
This only happens when items are dragged into table B. Otherwise, I have no warnings about automatic layout in IB, and everything in the layout looks properly configured. Does anyone know that trying to tell me the above message? The tables use standard Cocoa classes (not subclasses).
autolayout cocoa swift nstableview macos
Badmintoncat
source share