# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1616538937 0 # Node ID d84cd4227b2164af25c84e072db23f376a76f87c # Parent deb2345f45185ed2c1766b777594c983070026f7 iOS: Switch to UITableViewDataSource method numberOfRowsInSection: diff -r deb2345f4518 -r d84cd4227b21 ios/dw.m --- a/ios/dw.m Tue Mar 23 22:03:09 2021 +0000 +++ b/ios/dw.m Tue Mar 23 22:35:37 2021 +0000 @@ -1754,7 +1754,7 @@ { int z; int colcount = (int)[tvcols count]; - int rowcount = (int)[self numberOfRowsInTableView:self]; + int rowcount = (int)[self numberOfRowsInSection:0]; for(z=0;z count) { @@ -4039,7 +4039,7 @@ if([object isMemberOfClass:[DWContainer class]]) { DWContainer *cont = handle; - int count = (int)[cont numberOfRowsInTableView:cont]; + int count = (int)[cont numberOfRowsInSection:0]; if(index <= count) { @@ -5794,7 +5794,7 @@ DW_FUNCTION_INIT; DWContainer *cont = handle; UIScrollView *sv = [cont scrollview]; - int rowcount = (int)[cont numberOfRowsInTableView:cont]; + int rowcount = (int)[cont numberOfRowsInSection:0]; CGPoint offset = [sv contentOffset]; float change; @@ -5919,7 +5919,7 @@ DW_LOCAL_POOL_IN; DWContainer *cont = handle; char *thistext; - int x, count = (int)[cont numberOfRowsInTableView:cont]; + int x, count = (int)[cont numberOfRowsInSection:0]; for(x=0;x