{"id":17995157,"url":"https://github.com/623637646/embeddedscrollview","last_synced_at":"2025-03-26T02:31:18.218Z","repository":{"id":56910013,"uuid":"348564829","full_name":"623637646/EmbeddedScrollView","owner":"623637646","description":"Embedded UIScrollView for iOS.","archived":false,"fork":false,"pushed_at":"2023-01-30T06:25:40.000Z","size":78,"stargazers_count":60,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-19T01:39:35.092Z","etag":null,"topics":["embed","embedded","embeddings","nest","nested","scrolling","scrollview","uiscrollview"],"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/623637646.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":"2021-03-17T03:12:40.000Z","updated_at":"2024-03-04T08:26:05.000Z","dependencies_parsed_at":"2023-02-16T04:35:20.578Z","dependency_job_id":null,"html_url":"https://github.com/623637646/EmbeddedScrollView","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/623637646%2FEmbeddedScrollView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/623637646%2FEmbeddedScrollView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/623637646%2FEmbeddedScrollView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/623637646%2FEmbeddedScrollView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/623637646","download_url":"https://codeload.github.com/623637646/EmbeddedScrollView/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245576528,"owners_count":20638125,"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":["embed","embedded","embeddings","nest","nested","scrolling","scrollview","uiscrollview"],"created_at":"2024-10-29T20:18:05.277Z","updated_at":"2025-03-26T02:31:17.866Z","avatar_url":"https://github.com/623637646.png","language":"Swift","readme":"# EmbeddedScrollView\n\nAdd a vertical UIScrollView into another vertical UIScrollView on iOS. It makes users feel like it's a single UIScrollView. This tool resolve the gesture conflict between thw two UIScrollViews.\n\nHow it works: Hook the `scrollViewDidScroll` method of a UIScrollView by [SwiftHook](https://github.com/623637646/SwiftHook), calculate and reset the `offset` of the UIScrollView.\n\nIt supports Swift and Objective-C\n\n![ezgif com-gif-maker](https://user-images.githubusercontent.com/5275802/111632055-0f82c180-882f-11eb-87de-a8480dab060a.gif)\n\n# How to use EmbeddedScrollView\n\nJust one line code to do it!\n\n```swift\nouterScrollView.embeddedScrollView = embeddedScrollView\n```\n\nThe API is in an extension.\n```swift\nextension UIScrollView {\n\n    @objc public var embeddedScrollView: UIScrollView?\n}\n```\n\n\n# How to integrate EmbeddedScrollView?\n\n**EmbeddedScrollView** can be integrated by [cocoapods](https://cocoapods.org/). \n\n```\npod 'EmbeddedScrollView'\n```\n\nOr use Swift Package Manager. SPM is supported from **1.1.0**.\n\n# Requirements\n\n- iOS 10.0+\n- Xcode 11+\n- Swift 5.0+\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F623637646%2Fembeddedscrollview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F623637646%2Fembeddedscrollview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F623637646%2Fembeddedscrollview/lists"}