---
title: "Discussion on \"Handle different UICollectionViewCell in same controller\" | Hashnode"
description: "Discussion on \"Handle different UICollectionViewCell in same controller\". No need for messy if-else statements any more.\n\nI am working on a project has more collection view screens, and each collection view has more different cells, and if you faced same situation you know you will need for more of if-else statements, and ..."
url: "https://hashnode.com/posts/handle-different-uicollectionviewcell-in-same-controller/5f70309d5fd46b6601bbfc3f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Handle different UICollectionViewCell in same controller](https://bokhary.hashnode.dev/handle-different-uicollectionviewcell-in-same-controller?utm_source=hashnode&utm_medium=feed)

No need for messy if-else statements any more. I am working on a project has more collection view screens, and each collection view has more different cells, and if you faced same situation you know you will need for more of if-else statements, and ...

Sep 27, 2020 · 7 min read · bokhary.hashnode.dev  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#xcode](https://hashnode.com/tag/xcode)
-   [#ios-app-development](https://hashnode.com/tag/ios-app-development)

## Written by

[Elsayed Hussein](https://hashnode.com/@bokhary)

@bokhary

  
[View profile](https://hashnode.com/@bokhary)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
