From Xojo Documentation
Return the number of sections.
|table||The iOSTable instance using this data source.|
You should return the total number of sections in your data source. For example, if you are displaying names with sections for each letter of the alphabet, then you might return 26 here.
If you are not using sections, you can return 1 since there always needs to be at least one section.
Refer to the data source example in the User Guide to see how to set up a Data Source that returns names, with sections for the first letter of each last name.
You can also refer to the sample project included with Xojo: