{"id":23108027,"url":"https://github.com/donggyushin/dgzoomableimageview","last_synced_at":"2025-08-16T17:32:15.457Z","repository":{"id":44699714,"uuid":"450537592","full_name":"donggyushin/DGZoomableImageView","owner":"donggyushin","description":"A zoomable, pan-able image view","archived":false,"fork":false,"pushed_at":"2022-01-30T16:14:10.000Z","size":21,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-11T17:50:27.918Z","etag":null,"topics":["imageview","swift","zoom-images"],"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/donggyushin.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-21T15:12:40.000Z","updated_at":"2023-06-14T12:36:54.000Z","dependencies_parsed_at":"2022-09-11T20:21:42.181Z","dependency_job_id":null,"html_url":"https://github.com/donggyushin/DGZoomableImageView","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donggyushin%2FDGZoomableImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donggyushin%2FDGZoomableImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donggyushin%2FDGZoomableImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donggyushin%2FDGZoomableImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donggyushin","download_url":"https://codeload.github.com/donggyushin/DGZoomableImageView/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230047178,"owners_count":18164575,"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":["imageview","swift","zoom-images"],"created_at":"2024-12-17T01:17:05.761Z","updated_at":"2024-12-17T01:17:06.351Z","avatar_url":"https://github.com/donggyushin.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DGZoomableImageView\nA zoomable, pan-able image view\n\u003cdiv\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/34573243/150555498-2b08ac0e-5c86-4dd9-864e-e8e519fecede.gif\" width=250 /\u003e\n\u003c/div\u003e\n\n## Requirements\n- iOS 12.0+\n- Swift 5.5+\n- Xcode 10.0+\n\n\n## Installation\n\n### SPM\n```\nFile \u003e Add Packages \u003e https://github.com/donggyushin/DGZoomableImageView\n```\n\n### CocoaPod\n```\npod 'DGZoomableImageView', :git =\u003e 'https://github.com/donggyushin/DGZoomableImageView.git'\n```\n\n## Usage\n```\nlet imageView: DGZoomableImageView = {\n    let view = DGZoomableImageView()\n    view.urlString = \"https://image.shutterstock.com/image-vector/sample-stamp-grunge-texture-vector-260nw-1389188336.jpg\"\n    return view\n}()\n\nlet imageView: DGZoomableImageView = {\n    let view = DGZoomableImageView()\n    view.image = image\n    return view\n}()\n```\n\n## Properties\n\n\n| Properties  | Description | Default | Type |\n| ------------- | ------------- | ------------- | ------------- |\n| image  | DGZoomableImageView's image  | nil | UIImage |\n| urlString  | You can set image by url string  | nil | String |\n| imageViewContentMode  | image view's content mode  | .scaleAspectFit | UIView.ContentMode |\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonggyushin%2Fdgzoomableimageview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonggyushin%2Fdgzoomableimageview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonggyushin%2Fdgzoomableimageview/lists"}