{"id":15659093,"url":"https://github.com/gavinmn/scrollviewoffset","last_synced_at":"2025-04-15T11:54:37.593Z","repository":{"id":243438261,"uuid":"812425884","full_name":"gavinmn/ScrollViewOffset","owner":"gavinmn","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-08T22:05:00.000Z","size":9,"stargazers_count":31,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T19:45:25.250Z","etag":null,"topics":[],"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/gavinmn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-08T21:22:54.000Z","updated_at":"2025-03-14T13:12:18.000Z","dependencies_parsed_at":"2024-06-08T22:50:05.431Z","dependency_job_id":null,"html_url":"https://github.com/gavinmn/ScrollViewOffset","commit_stats":null,"previous_names":["gavinmn/scrollviewoffset"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinmn%2FScrollViewOffset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinmn%2FScrollViewOffset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinmn%2FScrollViewOffset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinmn%2FScrollViewOffset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gavinmn","download_url":"https://codeload.github.com/gavinmn/ScrollViewOffset/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249067773,"owners_count":21207395,"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","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":[],"created_at":"2024-10-03T13:14:59.910Z","updated_at":"2025-04-15T11:54:37.574Z","avatar_url":"https://github.com/gavinmn.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScrollViewOffset\n\nScrollViewOffset is a Swift package that provides a ScrollView with an offset callback.\n\n## Installation\n\nYou can add ScrollViewOffset to an Xcode project by adding it as a package dependency.\n\n1. From the **File** menu, select **Add Packages**.\n2. Enter the package repository URL: `https://github.com/gavinmn/ScrollViewOffset`\n\n## Sample usage\n```swift\nstruct ScrollViewOffsetTest: View {\n  var body: some View {\n    ScrollViewWithOffset() {  //ScrollViewWithOffset(axes: .horizontal) for horizontal scrolling\n      ForEach(0..\u003c40) { _ in\n        Circle()\n          .frame(width: 64, height: 64)\n        }\n    } onScroll: { offset in\n      print(offset)\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinmn%2Fscrollviewoffset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgavinmn%2Fscrollviewoffset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinmn%2Fscrollviewoffset/lists"}