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 nsstrings datasource:

self.indexview.indextitles = self.fetchresultscontroller.sectionindextitles;

ios uicollectionview

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -