{"id":20664735,"url":"https://github.com/jasudev/zoomable","last_synced_at":"2025-04-19T16:24:11.842Z","repository":{"id":42523339,"uuid":"453082561","full_name":"jasudev/Zoomable","owner":"jasudev","description":"It is a container that allows you to zoom in and out of an image using only SwiftUI.","archived":false,"fork":false,"pushed_at":"2022-04-01T13:41:36.000Z","size":22365,"stargazers_count":104,"open_issues_count":3,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T10:04:49.616Z","etag":null,"topics":["gesture","image","images","imageview","imageviewer","magnificationgesture","pinch","pinch-to-zoom","pinch-zoom","pinchimageview","swift","swiftui","zoom","zoom-images","zoomable","zooming"],"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/jasudev.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":"2022-01-28T13:43:42.000Z","updated_at":"2025-02-17T09:40:14.000Z","dependencies_parsed_at":"2022-09-06T07:51:43.493Z","dependency_job_id":null,"html_url":"https://github.com/jasudev/Zoomable","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/jasudev%2FZoomable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasudev%2FZoomable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasudev%2FZoomable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasudev%2FZoomable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasudev","download_url":"https://codeload.github.com/jasudev/Zoomable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249333612,"owners_count":21252849,"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":["gesture","image","images","imageview","imageviewer","magnificationgesture","pinch","pinch-to-zoom","pinch-zoom","pinchimageview","swift","swiftui","zoom","zoom-images","zoomable","zooming"],"created_at":"2024-11-16T19:26:00.019Z","updated_at":"2025-04-19T16:24:11.799Z","avatar_url":"https://github.com/jasudev.png","language":"Swift","readme":"# **Zoomable for SwiftUI**\nIt is a container that allows you to zoom in and out of an image using only SwiftUI.\n\n[![Platforms](https://img.shields.io/badge/Platforms-iOS%20%7C%20macOS-blue?style=flat-square)](https://developer.apple.com/macOS)\n[![iOS](https://img.shields.io/badge/iOS-13.0-blue.svg)](https://developer.apple.com/iOS)\n[![macOS](https://img.shields.io/badge/macOS-11.0-blue.svg)](https://developer.apple.com/macOS)\n[![instagram](https://img.shields.io/badge/instagram-@dev.fabula-orange.svg?style=flat-square)](https://www.instagram.com/dev.fabula)\n[![SPM](https://img.shields.io/badge/SPM-compatible-red?style=flat-square)](https://developer.apple.com/documentation/swift_packages/package/)\n[![MIT](https://img.shields.io/badge/licenses-MIT-red.svg)](https://opensource.org/licenses/MIT)  \n\n## Screenshot\n\u003cimg src=\"Markdown/Zoomable.gif\"\u003e\n\n## Example Usages\n1. ZoomableView\n    ```swift\n    ZoomableView(size: CGSize(width: 300, height: 300), min: 1.0, max: 6.0, showsIndicators: true) {\n        Image(\"image\")\n            .resizable()\n            .scaledToFit()\n            .background(Color.black)\n            .clipped()\n    }\n    ```\n\n        \n3. ZoomableImageView\n    ```swift\n    ZoomableImageView(url: url, min: 1.0, max: 3.0, showsIndicators: true) {\n        Text(\"ZoomableImageView\")\n            .padding()\n            .background(Color.black.opacity(0.5))\n            .cornerRadius(8)\n            .foregroundColor(Color.white)\n    }\n    ```\n\n## Swift Package Manager\nThe Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. Once you have your Swift package set up, adding Zoomable as a dependency is as easy as adding it to the dependencies value of your Package.swift.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/jasudev/Zoomable.git\", .branch(\"main\"))\n]\n```\n\n## Contact\ninstagram : [@dev.fabula](https://www.instagram.com/dev.fabula)  \nemail : [dev.fabula@gmail.com](mailto:dev.fabula@gmail.com)\n\n## License\nZoomable is available under the MIT license. See the [LICENSE](LICENSE) file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasudev%2Fzoomable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasudev%2Fzoomable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasudev%2Fzoomable/lists"}