{"id":30420237,"url":"https://github.com/jeffreysfllo24/stickylayout","last_synced_at":"2025-08-22T08:14:07.256Z","repository":{"id":62456063,"uuid":"259747963","full_name":"jeffreysfllo24/StickyLayout","owner":"jeffreysfllo24","description":"Sticky Layout for UICollectionViews!","archived":false,"fork":false,"pushed_at":"2020-05-20T15:01:54.000Z","size":15596,"stargazers_count":41,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T02:53:51.517Z","etag":null,"topics":["collection","collectionview","fixed","fixedcolumn","fixedheader","fixedrow","flow","flowlayout","layout","libraries","stick","sticky","sticky-headers","stickylayout","swift","swift5","table","uicollectionview","uicollectionviewlayout","view"],"latest_commit_sha":null,"homepage":"","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/jeffreysfllo24.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":"2020-04-28T20:47:50.000Z","updated_at":"2025-05-02T02:41:54.000Z","dependencies_parsed_at":"2022-11-02T00:15:15.076Z","dependency_job_id":null,"html_url":"https://github.com/jeffreysfllo24/StickyLayout","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jeffreysfllo24/StickyLayout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffreysfllo24%2FStickyLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffreysfllo24%2FStickyLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffreysfllo24%2FStickyLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffreysfllo24%2FStickyLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffreysfllo24","download_url":"https://codeload.github.com/jeffreysfllo24/StickyLayout/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffreysfllo24%2FStickyLayout/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271606595,"owners_count":24788979,"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-22T02:00:08.480Z","response_time":65,"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":["collection","collectionview","fixed","fixedcolumn","fixedheader","fixedrow","flow","flowlayout","layout","libraries","stick","sticky","sticky-headers","stickylayout","swift","swift5","table","uicollectionview","uicollectionviewlayout","view"],"created_at":"2025-08-22T08:14:06.515Z","updated_at":"2025-08-22T08:14:07.249Z","avatar_url":"https://github.com/jeffreysfllo24.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StickyLayout \n[![codecov](https://codecov.io/gh/jeffreysfllo24/StickyLayout/branch/master/graph/badge.svg)](https://codecov.io/gh/jeffreysfllo24/StickyLayout)\n[![pod](https://cocoapod-badges.herokuapp.com/v/StickyLayout/badge.png)](https://cocoapods.org/pods/StickyLayout)\n[![Badge w/ Platform](https://cocoapod-badges.herokuapp.com/p/StickyLayout/badge.svg)](https://cocoadocs.org/pods/StickyLayout)\n![License MIT](https://go-shields.herokuapp.com/license-MIT-blue.png)\n\n\u003cp\u003e\n  \u003cp float=\"left\"\u003e\n    \u003cimg src=\"https://github.com/jeffreysfllo24/StickyLayout/blob/master/Art/StickyLayout_Calendar.gif\" float=\"top\"\u003e\n    \u003cimg src=\"https://github.com/jeffreysfllo24/StickyLayout/blob/master/Art/StickyLayout_swimming.gif\" float=\"bottom\"\u003e\n  \u003c/p\u003e\n\n  \u003cp float=\"right\"\u003e\n    \u003cimg src=\"https://github.com/jeffreysfllo24/StickyLayout/blob/master/Art/StickLayout_Tabular.gif\" float=\"right\"\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n##### The above examples are accessible in the `example` folder.\n\n## What is StickyLayout?\n**StickyLayout** is a collection view layout that provides sticky row and column configurability.\n\n## Features\n\n- [X] Configurable Sticky options.\n- [X] Pure Swift 5.\n- [X] Horizontal and vertical scrolling support.\n- [X] Row spacing and column spacing support.\n- [X] Works with every `UICollectionView`.\n\n## Setup\nUsing **StickyLayout** quick and simple. First import `StickyLayout`.\n\n```swift\nimport StickyLayout\n```\n\nYou then have the option of creating an instance of `StickyConfig`, where you can specify which rows/columns you want to be sticky.\n\n```swift\nlet stickyConfig = StickyLayoutConfig(stickyRowsFromTop: 1,\n                                stickyRowsFromBottom: 0,\n                                stickyColsFromLeft: 1,\n                                stickyColsFromRight: 0)\n\nlet layout = StickyLayout(stickyConfig: stickyConfig)\n```\n\nCreate an instance of `StickyLayout` with your `StickyConfig` as a parameter, and add it to your `UICollectionView`.\n```swift\nUICollectionView(frame: .zero, collectionViewLayout: layout)\n```\n\n## Installation\nStickyLayout is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"StickyLayout\"\n```\n\n## Feedback and Suggestions\nIf you have any suggestions or improvements please open a pull request or create an issue.\n\nAnd if you found StickyLayout useful or want to show support feel free to star this repo!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffreysfllo24%2Fstickylayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffreysfllo24%2Fstickylayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffreysfllo24%2Fstickylayout/lists"}