Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We Split: Picker view for works only once and then crshes. #40

Closed
pantkarun75 opened this issue Mar 26, 2020 · 1 comment
Closed

We Split: Picker view for works only once and then crshes. #40

pantkarun75 opened this issue Mar 26, 2020 · 1 comment

Comments

@pantkarun75
Copy link

Picker("Number of people", selection: $numberOfPeople) {
ForEach(2 ..< 100) {
Text("($0) people")
}
}

Issue:
2020-03-26 11:04:18.389974+0530 WeSplit[4297:62153] [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: 0x7fe76b00d800; baseClass = UITableView; frame = (0 0; 414 896); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600003e51530>; layer = <CALayer: 0x60000307c800>; contentOffset: {0, -140}; contentSize: {414, 4390.3333333333276}; adjustedContentInset: {140, 0, 34, 0}; dataSource: <TtGC7SwiftUIP13$7fff2c69da4419ListCoreCoordinatorGVS_20SystemListDataSourceOs5Never_GOS_19SelectionManagerBoxS2_: 0x7fe77144adc0>>

@twostraws
Copy link
Owner

Apple prints its own log messages, and we shouldn't be concerned with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants