SimformSolutionsPvtLtd / SSPlaceHolderTableView

SSPlaceholderTableView is Placeholder Library for different different state wise placeHolder for UITableView/UICollectionView. Check https://www.cocoacontrols.com/controls/ssplaceholdertableview
MIT License
51 stars 8 forks source link

Doesn't work at all when collection view is created programmatically #2

Closed gerchicov-bp closed 2 years ago

gerchicov-bp commented 5 years ago
let collectonView = CollectionView(frame: .zero, collectionViewLayout: flowLayout)

Error: 'CollectionView' initializer is inaccessible due to 'internal' protection level

brightroots7 commented 3 years ago

Yes it has an issue for its private initializer, copy the source file to your project and change the init, of CollectionView class with public override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout)

mobile-simformsolutions commented 2 years ago

@gerchicov-bp Issue fixed in the latest release.

#2.0.1