Instance Method

sectionForSectionIndexTitle:atIndex:

Returns the section number for a given section title and index in the section index.

Declaration

- (NSInteger)sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)sectionIndex;

Parameters

title

The title of a section

sectionIndex

The index of a section.

Return Value

The section number for the given section title and index in the section index

Discussion

You would typically call this method when executing UITableViewDataSource’s tableView:sectionForSectionIndexTitle:atIndex: method.

See Also

Querying Section Information

sections

The sections for the fetch results.