ReusableKit icon indicating copy to clipboard operation
ReusableKit copied to clipboard

Add a nib initializer to avoid hard coded nib name

Open JuyeonYu opened this issue 4 years ago • 0 comments

This is one of inevitable hard coded string cases for nib. -> ReusableCell<MyCell>(nibName: "MyCell")

In this pull request, we can init it without hard coded string anymore. -> ReusableCell<MyCell>(nibType: MyCell.self)

That will be ok on condition of same string between nib and class name.

JuyeonYu avatar Dec 02 '21 06:12 JuyeonYu