Citrrus / MBContactPicker

iOS7 Styled Contact Picker Library that uses a UICollectionView
MIT License
501 stars 60 forks source link

Cleaned up the API and made it more dynamic. ... #58

Open hohl opened 10 years ago

hohl commented 10 years ago

Instead of using a static array the data source method now returns an array depending on the current filter.

(Demo updated too of course!)

vincentjames501 commented 9 years ago

It would be really nice for the project maintainers to review this commit as this would be an incredibly nice feature to have.

brunchboy commented 9 years ago

Indeed, although to fully support remote data with large data sets, the completion handler would need to support chunked operation as well: each time it returns with a new chunk of data, it would also return a token that could be used to retrieve the next chunk, or null, if all the data had been delivered. The contact picker would then call for the next chunk whenever the user scrolled to the bottom of the view and the preceding completion had returned a non-null “next” token.