IOS alphabetical scroll for uicollectionview -
IOS alphabetical scroll for uicollectionview -
i had collectionview shows multiple images of peoples , names , had implemented search , sorting functionality , problem want alphabetical . collectionview not have delegate methods table has .
- (nsarray *)sectionindextitlesfortableview:(uitableview *)tableview { return[nsarray arraywithobjects:@"a", @"e", @"i", @"m", @"p", nil]; } - (nsinteger)tableview:(uitableview *)tableview sectionforsectionindextitle:(nsstring *)title atindex:(nsinteger)index { homecoming <yoursectionindexforthesectionforsectionindextitle >; }
i had tried question , shows collectionview cells in section. problem dont want multiple sections. want section , implement alphabetical scroll functionality , please guide me help
above methods not in collectionviewdelegate methods.
bdkcollectionindexview
implements uitableview
-like section index bar. it's pretty easy integrate 1 time have positioned onscreen: assign array of nsstring
s datasource:
self.indexview.indextitles = self.fetchresultscontroller.sectionindextitles;
ios uicollectionview
Comments
Post a Comment