Reply:
CELL inside Add Table (addsubviw) or by the way you like CELL placed inside the text (like a space in front of the name).
Nothing difficult ah.
Reply:
- (NSArray *) sectionIndexTitlesForTableView: (UITableView *) tableView; / / return list of section titles to display in section index view (eg "ABCD ... Z #")
Reply:
Maybe I did not say to understand. For example there is only one field in Table A: name, there are "c1", "a1", "a2", "b1", "d1" several of these data, section by a, b, c, d show, select name from A order by name to retrieve data, how and section correspond and displayed?
Reply:
1 From the [c1, a1, a2, b1, d1] reads a data
2 interception string in the data source in the list of sections a, b, c, d, e comparison, if the same, as follows
Adding data sources, such as:
[Self.datas [0] insertObject: @ "aska" atIndex: 0]; / / section of a line 0 of
Then calculate this line IndexPath
NSArray * indexPaths = @ [[NSIndexPath indexPathForRow: 0 inSection: 0]]; / / section of a first line 0
3
[TableView beginUpdates];
[TableView insertRowsAtIndexPaths: indexPaths withRowAnimation: UITableViewRowAnimationRight];
[TableView endUpdates];
ps: As for the inside of the data re-sorting, as well as an array of some of the logic you think about it. Method is such a
No comments:
Post a Comment