Iglistkit: How to implement a control that a collection on a UIView.

Created on 6 Jan 2018  路  3Comments  路  Source: Instagram/IGListKit

I want implement a control that a collectionView on a UIView.
I don't want declare the adapter in the UIViewController. I pass the data to the view, and the view implemented IGListAdapterDataSource by itself.
But the init method need a viewcontroller. Any recommend implementation?

question

Most helpful comment

You should be able to pass nil. That's what I am doing in my custom views that use IGListKit

All 3 comments

You should be able to pass nil. That's what I am doing in my custom views that use IGListKit

Yup @weyert is exactly right!

Sent with GitHawk

@weyert Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joseph-francis picture joseph-francis  路  3Comments

jessesquires picture jessesquires  路  3Comments

PhilCai1993 picture PhilCai1993  路  3Comments

kleiberjp picture kleiberjp  路  3Comments

lucabartoletti picture lucabartoletti  路  3Comments