23
23
< a class ="header-link " href ="../index.html ">
24
24
DiffableDataSources Docs
25
25
</ a >
26
- (96 % documented)
26
+ (98 % documented)
27
27
</ p >
28
28
29
29
< p class ="header-col--secondary ">
@@ -978,6 +978,130 @@ <h4>Return Value</h4>
978
978
</ section >
979
979
</ div >
980
980
</ li >
981
+ < li class ="item ">
982
+ < div >
983
+ < code >
984
+ < a name ="/s:19DiffableDataSources09TableViewaB6SourceC18sectionIndexTitles3forSaySSGSgSo07UITableE0C_tF "> </ a >
985
+ < a name ="//apple_ref/swift/Method/sectionIndexTitles(for:) " class ="dashAnchor "> </ a >
986
+ < a class ="token " href ="#/s:19DiffableDataSources09TableViewaB6SourceC18sectionIndexTitles3forSaySSGSgSo07UITableE0C_tF "> sectionIndexTitles(for:)</ a >
987
+ </ code >
988
+ </ div >
989
+ < div class ="height-container ">
990
+ < div class ="pointer-container "> </ div >
991
+ < section class ="section ">
992
+ < div class ="pointer "> </ div >
993
+ < div class ="abstract ">
994
+ < p > Return list of section titles to display in section index view (e.g. < q > ABCD…Z#</ q > ).</ p >
995
+
996
+ </ div >
997
+ < div class ="declaration ">
998
+ < h4 > Declaration</ h4 >
999
+ < div class ="language ">
1000
+ < p class ="aside-title "> Swift</ p >
1001
+ < pre class ="highlight swift "> < code > < span class ="kd "> open</ span > < span class ="kd "> func</ span > < span class ="nf "> sectionIndexTitles</ span > < span class ="p "> (</ span > < span class ="k "> for</ span > < span class ="nv "> tableView</ span > < span class ="p "> :</ span > < span class ="kt "> UITableView</ span > < span class ="p "> )</ span > < span class ="o "> -></ span > < span class ="p "> [</ span > < span class ="kt "> String</ span > < span class ="p "> ]?</ span > </ code > </ pre >
1002
+
1003
+ </ div >
1004
+ </ div >
1005
+ < div >
1006
+ < h4 > Parameters</ h4 >
1007
+ < table class ="graybox ">
1008
+ < tbody >
1009
+ < tr >
1010
+ < td >
1011
+ < code >
1012
+ < em > tableView</ em >
1013
+ </ code >
1014
+ </ td >
1015
+ < td >
1016
+ < div >
1017
+ < p > A table view instance managed by < code > self</ code > .</ p >
1018
+ </ div >
1019
+ </ td >
1020
+ </ tr >
1021
+ </ tbody >
1022
+ </ table >
1023
+ </ div >
1024
+ < div >
1025
+ < h4 > Return Value</ h4 >
1026
+ < p > The list of section titles to display.</ p >
1027
+ </ div >
1028
+ </ section >
1029
+ </ div >
1030
+ </ li >
1031
+ < li class ="item ">
1032
+ < div >
1033
+ < code >
1034
+ < a name ="/s:19DiffableDataSources09TableViewaB6SourceC05tableE0_27sectionForSectionIndexTitle2atSiSo07UITableE0C_SSSitF "> </ a >
1035
+ < a name ="//apple_ref/swift/Method/tableView(_:sectionForSectionIndexTitle:at:) " class ="dashAnchor "> </ a >
1036
+ < a class ="token " href ="#/s:19DiffableDataSources09TableViewaB6SourceC05tableE0_27sectionForSectionIndexTitle2atSiSo07UITableE0C_SSSitF "> tableView(_:sectionForSectionIndexTitle:at:)</ a >
1037
+ </ code >
1038
+ </ div >
1039
+ < div class ="height-container ">
1040
+ < div class ="pointer-container "> </ div >
1041
+ < section class ="section ">
1042
+ < div class ="pointer "> </ div >
1043
+ < div class ="abstract ">
1044
+ < p > Tell table which section corresponds to section title/index (e.g. < q > B</ q > ,1)).</ p >
1045
+
1046
+ </ div >
1047
+ < div class ="declaration ">
1048
+ < h4 > Declaration</ h4 >
1049
+ < div class ="language ">
1050
+ < p class ="aside-title "> Swift</ p >
1051
+ < pre class ="highlight swift "> < code > < span class ="kd "> open</ span > < span class ="kd "> func</ span > < span class ="nf "> tableView</ span > < span class ="p "> (</ span > < span class ="n "> _</ span > < span class ="nv "> tableView</ span > < span class ="p "> :</ span > < span class ="kt "> UITableView</ span > < span class ="p "> ,</ span > < span class ="n "> sectionForSectionIndexTitle</ span > < span class ="nv "> _</ span > < span class ="p "> :</ span > < span class ="kt "> String</ span > < span class ="p "> ,</ span > < span class ="n "> at</ span > < span class ="nv "> section</ span > < span class ="p "> :</ span > < span class ="kt "> Int</ span > < span class ="p "> )</ span > < span class ="o "> -></ span > < span class ="kt "> Int</ span > </ code > </ pre >
1052
+
1053
+ </ div >
1054
+ </ div >
1055
+ < div >
1056
+ < h4 > Parameters</ h4 >
1057
+ < table class ="graybox ">
1058
+ < tbody >
1059
+ < tr >
1060
+ < td >
1061
+ < code >
1062
+ < em > tableView</ em >
1063
+ </ code >
1064
+ </ td >
1065
+ < td >
1066
+ < div >
1067
+ < p > A table view instance managed by < code > self</ code > .</ p >
1068
+ </ div >
1069
+ </ td >
1070
+ </ tr >
1071
+ < tr >
1072
+ < td >
1073
+ < code >
1074
+ < em > title</ em >
1075
+ </ code >
1076
+ </ td >
1077
+ < td >
1078
+ < div >
1079
+ < p > The title as displayed in the section index of tableView.</ p >
1080
+ </ div >
1081
+ </ td >
1082
+ </ tr >
1083
+ < tr >
1084
+ < td >
1085
+ < code >
1086
+ < em > section</ em >
1087
+ </ code >
1088
+ </ td >
1089
+ < td >
1090
+ < div >
1091
+ < p > An index number identifying a section title in the array returned by sectionIndexTitles(for tableView:).</ p >
1092
+ </ div >
1093
+ </ td >
1094
+ </ tr >
1095
+ </ tbody >
1096
+ </ table >
1097
+ </ div >
1098
+ < div >
1099
+ < h4 > Return Value</ h4 >
1100
+ < p > The list of section titles to display.</ p >
1101
+ </ div >
1102
+ </ section >
1103
+ </ div >
1104
+ </ li >
981
1105
</ ul >
982
1106
</ div >
983
1107
</ div >
@@ -986,7 +1110,7 @@ <h4>Return Value</h4>
986
1110
</ article >
987
1111
</ div >
988
1112
< section class ="footer ">
989
- < p > © 2020 < a class ="link " href ="https://github.com/ra1028 " target ="_blank " rel ="external "> Ryo Aoyama</ a > . All rights reserved. (Last updated: 2020-04-12 )</ p >
1113
+ < p > © 2021 < a class ="link " href ="https://github.com/ra1028 " target ="_blank " rel ="external "> Ryo Aoyama</ a > . All rights reserved. (Last updated: 2021-06-09 )</ p >
990
1114
< p > Generated by < a class ="link " href ="https://github.com/realm/jazzy " target ="_blank " rel ="external "> jazzy ♪♫ v0.11.2</ a > , a < a class ="link " href ="https://realm.io " target ="_blank " rel ="external "> Realm</ a > project.</ p >
991
1115
</ section >
992
1116
</ body >
0 commit comments