{"id":16551340,"url":"https://github.com/nicoelayda/scrollviewminimap","last_synced_at":"2025-10-28T18:31:30.618Z","repository":{"id":55687323,"uuid":"319149126","full_name":"nicoelayda/ScrollViewMinimap","owner":"nicoelayda","description":"Custom control for adding minimap functionality to UIScrollView.","archived":false,"fork":false,"pushed_at":"2020-12-13T06:13:17.000Z","size":3488,"stargazers_count":25,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T07:22:24.961Z","etag":null,"topics":["ios","minimap","minimap-control","swift","swiftui","uiscrollview","xcode"],"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/nicoelayda.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-12-06T22:56:07.000Z","updated_at":"2024-10-21T05:25:13.000Z","dependencies_parsed_at":"2022-08-15T06:20:58.584Z","dependency_job_id":null,"html_url":"https://github.com/nicoelayda/ScrollViewMinimap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoelayda%2FScrollViewMinimap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoelayda%2FScrollViewMinimap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoelayda%2FScrollViewMinimap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoelayda%2FScrollViewMinimap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicoelayda","download_url":"https://codeload.github.com/nicoelayda/ScrollViewMinimap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238700290,"owners_count":19515897,"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":["ios","minimap","minimap-control","swift","swiftui","uiscrollview","xcode"],"created_at":"2024-10-11T19:37:02.351Z","updated_at":"2025-10-28T18:31:29.623Z","avatar_url":"https://github.com/nicoelayda.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScrollViewMinimap\n\nScrollViewMinimap is a control for adding minimap functionality to `UIScrollView`.\n\n![ScrollViewMinimap_Preview](https://user-images.githubusercontent.com/4868132/101295673-0f4f4f00-385a-11eb-9fa2-8a92baf772d2.gif)\n\n## Features\n\n- Automatic sizing based on scroll view's content view.\n- Automatic thumbnail generation.\n- Customisable highlight rect.\n\n## Installation\n\n### Cocoapods\n\nAdd `ScrollViewMinimap` to your `Podfile`.\n\n```ruby\npod 'ScrollViewMinimap', '~\u003e 1.0.0'\n```\n\n### Swift Package Manager\n\nIn Xcode, select **File \u003e Swift Packages \u003e Add Package Dependency...**\n\nAdd `https://github.com/nicoelayda/ScrollViewMinimap.git` as the package repository URL.\n\n**or**\n\nIf you have an existing `Package.swift` file, add `ScrollViewMinimap` package to your target's dependencies.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/nicoelayda/ScrollViewMinimap.git\", .upToNextMajor(from: \"1.0.0\"))\n]\n```\n\n### Manual\n\nCopy the contents of [`Sources/ScrollViewMinimap`](https://github.com/nicoelayda/ScrollViewMinimap/tree/master/Sources/ScrollViewMinimap) to your project.\n\n## Usage\n1. Add `ScrollViewMinimap` to your `UIScrollView`'s view controller.\n2. In `viewDidLoad()`, set the `scrollView` property to your scroll view.\n\n    ```swift\n    minimap.scrollView = scrollView\n    ```\n    \n3. In your `UIScrollViewDelegate`, call `update(animated:)` in `scrollViewDidScroll(_:)` and `scrollViewDidZoom(_:)` .\n\n    ```swift\n    func scrollViewDidScroll(_ scrollView: UIScrollView) {\n        minimap.update(animated: true)\n    }\n\n    func scrollViewDidZoom(_ scrollView: UIScrollView) {\n        minimap.update(animated: true)\n    }\n    ```\n\nCheck out [**ScrollViewMinimap-Examples**](https://github.com/nicoelayda/ScrollViewMinimap-Examples) for sample projects using ScrollViewMinimap.\n\n## License\n\nMIT. See [LICENSE](https://github.com/nicoelayda/ScrollViewMinimap/blob/master/LICENSE).\n\n## Credits\n\nSample Photo from [Unsplash](https://unsplash.com/photos/KwT8fAZq6fI).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoelayda%2Fscrollviewminimap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicoelayda%2Fscrollviewminimap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoelayda%2Fscrollviewminimap/lists"}