Iglistkit: Cannot create cells from Nib in Cocoapods release

Created on 21 Oct 2016  路  12Comments  路  Source: Instagram/IGListKit

Hi,

I saw that in your example project, you have the following code for creating a cell from a nib:

IGListSingleSectionController(nibName: NibCell.nibName,
                              bundle: nil,
                              configureBlock: configureBlock,
                              sizeBlock: sizeBlock)

However, in the version of IGListKit downloaded from Cocoapods, the function is no where to be seen. Would it be possible to update the Cocoapods version so that it has this function?
Thanks!

question

All 12 comments

@yusuftor we should! I'll bump a 1.1 release and include this

This needs to be 2.0, not 1.1.

This is a breaking change

@rnystrom - we should probably wait until current PRs are merged.

Since this is a breaking release, we should pack-in as many breaking changes as we can.

There's a 2.0 draft at https://github.com/Instagram/IGListKit/releases

@yusuftor you can track our progress for the next release here:

https://github.com/Instagram/IGListKit/milestone/1

@jessesquires actually #56 wasn't breaking, I meant cutting a 1.1.0 and picking the nib feature before we cut 2.0.0. What do you think?

Ahhh.. I see.

At this point, I think it's more valuable (and simpler) to just pack up everything into 2.0 and release that. Do we foresee any other major breaking changes coming up?

No I don't think so

Also, it's only been 13 days since 1.0 馃槃

I say we wait another week or two, keep merging PRs, then tag and release 2.0.

And honestly, master is pretty stable. If anyone needs those features _right now_, then they can point CocoaPods/Carthage there for now.

Ok so which branch should I be directing Cocoapods to to access those features?

@yusuftor
Adding the following:
pod 'IGListKit', :git => 'https://github.com/Instagram/IGListKit.git', :branch => 'master'
to your Podfile should enable it to get the latest version of Master from the repository.

Yep -- although master is pretty stable (and tested), it should be used with caution 馃槃

Going to go ahead and close this out

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FazeelAkhtar picture FazeelAkhtar  路  3Comments

rnystrom picture rnystrom  路  3Comments

Przemyslaw-Wosko picture Przemyslaw-Wosko  路  3Comments

shuhrat10 picture shuhrat10  路  3Comments

alexwillrock picture alexwillrock  路  3Comments