|
@@ -53,7 +53,7 @@ class TSEffectPreviewStyleView : TSBaseView {
|
|
|
extension TSEffectPreviewStyleView: UICollectionViewDataSource ,UICollectionViewDelegate {
|
|
extension TSEffectPreviewStyleView: UICollectionViewDataSource ,UICollectionViewDelegate {
|
|
|
|
|
|
|
|
func getReuseIdentifier(itemModel:TSDiscoverItemModel) -> String{
|
|
func getReuseIdentifier(itemModel:TSDiscoverItemModel) -> String{
|
|
|
- if let animationModel = itemModel.viewModel as? TSDiscoverAnimationItemVM {
|
|
|
|
|
|
|
+// if let animationModel = itemModel.viewModel as? TSDiscoverAnimationItemVM {
|
|
|
// if animationModel.style == .gif {
|
|
// if animationModel.style == .gif {
|
|
|
// return "TSAILIstStyleMoreAnimationGifCell"
|
|
// return "TSAILIstStyleMoreAnimationGifCell"
|
|
|
// }else if animationModel.style == .comparison {
|
|
// }else if animationModel.style == .comparison {
|
|
@@ -61,7 +61,7 @@ extension TSEffectPreviewStyleView: UICollectionViewDataSource ,UICollectionView
|
|
|
// }else if animationModel.style == .crossDissolve {
|
|
// }else if animationModel.style == .crossDissolve {
|
|
|
// return "TSAILIstStyleMoreCrossDissolveCell"
|
|
// return "TSAILIstStyleMoreCrossDissolveCell"
|
|
|
// }
|
|
// }
|
|
|
- }
|
|
|
|
|
|
|
+// }
|
|
|
return "TSEffectPreviewStyleViewImageCell"
|
|
return "TSEffectPreviewStyleViewImageCell"
|
|
|
}
|
|
}
|
|
|
|
|
|