{"id":17046130,"url":"https://github.com/kimdv/swiftyreuse","last_synced_at":"2025-08-27T01:49:57.739Z","repository":{"id":62456998,"uuid":"108732913","full_name":"kimdv/SwiftyReuse","owner":"kimdv","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-29T14:37:20.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T17:44:43.784Z","etag":null,"topics":["reusable","swift","uikit"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kimdv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-29T12:36:58.000Z","updated_at":"2017-11-27T02:16:17.000Z","dependencies_parsed_at":"2022-11-02T00:17:04.737Z","dependency_job_id":null,"html_url":"https://github.com/kimdv/SwiftyReuse","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kimdv/SwiftyReuse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimdv%2FSwiftyReuse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimdv%2FSwiftyReuse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimdv%2FSwiftyReuse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimdv%2FSwiftyReuse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kimdv","download_url":"https://codeload.github.com/kimdv/SwiftyReuse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimdv%2FSwiftyReuse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272277846,"owners_count":24905573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["reusable","swift","uikit"],"created_at":"2024-10-14T09:45:23.146Z","updated_at":"2025-08-27T01:49:57.706Z","avatar_url":"https://github.com/kimdv.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftyReuse\n\n##### A micro framework that makes it more pretty to register and dequeue cells in `UITableView` and `UICollectionView`. \n\n\n## Introduction \n\nThe `UIKit` way of registering `UITableView` or `UICollectionView` cells is not that sweet 🙈🙈🙈\n```swift\nself.tableView.register(UINib(nibName: \"Cell\", bundle: nil), forCellReuseIdentifier: \"CellIdentifier\")\n```\n\nAnd dequeue \n\n```swift\nreturn tableView.dequeueReusableCell(withIdentifier: \"CellIdentifier\", for: indexPath) as! CustomCell\n```\n\nLet's do that better with the power of Swift ! 🚀🚀🚀\n\n```swift\nclass ViewController {\n    func viewDidLoad() {\n        self.collectionView.register(Cell.self)\n    }\n    \n    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -\u003e UICollectionViewCell {\n        return collectionView.dequeue(Cell.self, for: indexPath)\n    }   \n}\n```\n\nAnd that's it! 😱😱😱\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimdv%2Fswiftyreuse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkimdv%2Fswiftyreuse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimdv%2Fswiftyreuse/lists"}