Skip to content

Instantly share code, notes, and snippets.

@minikin
Created November 21, 2019 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minikin/31ec0e38a60b5d67ac0af01bf90100c4 to your computer and use it in GitHub Desktop.
Save minikin/31ec0e38a60b5d67ac0af01bf90100c4 to your computer and use it in GitHub Desktop.
2019-11-21 17:13:51.850464+0100 SwiftUI Playground[46324:2989784] [TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <_TtC7SwiftUIP33_BFB370BA5F1BADDC9D83021565761A4925UpdateCoalescingTableView: 0x7fbb4e802000; baseClass = UITableView; frame = (0 0; 375 812); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x6000011ed890>; layer = <CALayer: 0x600001f363c0>; contentOffset: {0, -140}; contentSize: {375, 450.33333333333331}; adjustedContentInset: {140, 0, 34, 0}; dataSource: <_TtGC7SwiftUIP13$7fff2c6b223419ListCoreCoordinatorGVS_20SystemListDataSourceOs5Never_GOS_19SelectionManagerBoxS2___: 0x7fbb4e42a7a0>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment