Merge pull request #64 from AntonPalich/Make_photoCellStyle_public
Make PhotoMessagePresenter.photoCellStyle property public
This commit is contained in:
commit
4cc289f2be
|
|
@ -33,6 +33,8 @@ public class PhotoMessagePresenter<ViewModelBuilderT, InteractionHandlerT where
|
|||
public typealias ModelT = ViewModelBuilderT.ModelT
|
||||
public typealias ViewModelT = ViewModelBuilderT.ViewModelT
|
||||
|
||||
public let photoCellStyle: PhotoMessageCollectionViewCellStyleProtocol
|
||||
|
||||
public init (
|
||||
messageModel: ModelT,
|
||||
viewModelBuilder: ViewModelBuilderT,
|
||||
|
|
@ -50,8 +52,6 @@ public class PhotoMessagePresenter<ViewModelBuilderT, InteractionHandlerT where
|
|||
)
|
||||
}
|
||||
|
||||
let photoCellStyle: PhotoMessageCollectionViewCellStyleProtocol
|
||||
|
||||
public override class func registerCells(collectionView: UICollectionView) {
|
||||
collectionView.registerClass(PhotoMessageCollectionViewCell.self, forCellWithReuseIdentifier: "photo-message")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue