Merge pull request #64 from AntonPalich/Make_photoCellStyle_public

Make PhotoMessagePresenter.photoCellStyle property public
This commit is contained in:
Anton Schukin 2016-03-16 10:54:15 +00:00
commit 4cc289f2be
1 changed files with 2 additions and 2 deletions

View File

@ -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")
}