Latest 0.1.0
License MIT
Platforms ios 11.0
A micro framework that makes it more pretty to register and dequeue cells in UITableView and UICollectionView.


The UIKit way of registering UITableView or UICollectionView cells is not that sweet 🙈🙈🙈

self.tableView.register(UINib(nibName: "Cell", bundle: nil), forCellReuseIdentifier: "CellIdentifier")

And dequeue

return tableView.dequeueReusableCell(withIdentifier: "CellIdentifier", for: indexPath) as! CustomCell

Let’s do that better with the power of Swift ! 🚀🚀🚀

class ViewController {
    func viewDidLoad() {

    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
        return collectionView.dequeue(Cell.self, for: indexPath)

And that’s it! 😱😱😱

Latest podspec

    "name": "SwiftyReuse",
    "version": "0.1.0",
    "summary": "A microframework that makes register dequeuing of cells in UICollectionView and UITableView pretier.",
    "authors": {
        "Kim de Vos": "[email protected]"
    "homepage": "",
    "social_media_url": "",
    "license": "MIT",
    "source": {
        "git": "",
        "tag": "0.1.0"
    "source_files": "Sources/**/*.swift",
    "platforms": {
        "ios": "11.0"

Pin It on Pinterest

Share This