{"id":18596285,"url":"https://github.com/wxxsw/gsimageviewercontroller","last_synced_at":"2025-04-06T05:16:47.932Z","repository":{"id":56536370,"uuid":"48410070","full_name":"wxxsw/GSImageViewerController","owner":"wxxsw","description":"An image viewer controller with zoom transition, in Swift.","archived":false,"fork":false,"pushed_at":"2020-11-02T03:04:10.000Z","size":17277,"stargazers_count":291,"open_issues_count":2,"forks_count":37,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-30T04:09:43.505Z","etag":null,"topics":["imageviewer","ios","swift","ui","zoom"],"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/wxxsw.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":"2015-12-22T04:20:36.000Z","updated_at":"2025-03-20T09:16:08.000Z","dependencies_parsed_at":"2022-08-15T20:31:24.042Z","dependency_job_id":null,"html_url":"https://github.com/wxxsw/GSImageViewerController","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxxsw%2FGSImageViewerController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxxsw%2FGSImageViewerController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxxsw%2FGSImageViewerController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wxxsw%2FGSImageViewerController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wxxsw","download_url":"https://codeload.github.com/wxxsw/GSImageViewerController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436286,"owners_count":20938533,"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":["imageviewer","ios","swift","ui","zoom"],"created_at":"2024-11-07T01:23:45.549Z","updated_at":"2025-04-06T05:16:47.901Z","avatar_url":"https://github.com/wxxsw.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GSImageViewerController\n\n## Demo\n\n![](https://github.com/wxxsw/GSImageViewerController/blob/master/demo.gif)\n\n## Example\n\nTo show normal image viewer controller:\n```Swift\nlet imageInfo   = GSImageInfo(image: someImage, imageMode: .aspectFit)\nlet imageViewer = GSImageViewerController(imageInfo: imageInfo)\nnavigationController?.pushViewController(imageViewer, animated: true)\n```\n\nTo show zoom transition image viewer controller:\n```Swift\nlet imageInfo      = GSImageInfo(image: someImage, imageMode: .aspectFill, imageHD: someHDImageURLOrNil)\nlet transitionInfo = GSTransitionInfo(fromView: someView)\nlet imageViewer    = GSImageViewerController(imageInfo: imageInfo, transitionInfo: transitionInfo)\npresent(imageViewer, animated: true, completion: nil)\n```\n\n## Requirements\n\n### Master\n\n- iOS 8.0+\n- Xcode 10.2+ (Swift 5)\n\n### [1.5.2](https://github.com/wxxsw/GSImageViewerController/tree/1.5.2)\n\n- iOS 8.0+\n- Xcode 10 (Swift 4.2)\n\n### [1.4.2](https://github.com/wxxsw/GSImageViewerController/tree/1.4.2)\n\n- iOS 8.0+\n- Xcode 9 (Swift 4)\n\n### [1.2.1](https://github.com/wxxsw/GSImageViewerController/tree/1.2.1)\n\n- iOS 8.0+\n- Xcode 8 (Swift 3)\n\n### [1.1.1](https://github.com/wxxsw/GSImageViewerController/tree/1.1.1)\n\n- iOS 7.0+\n- Xcode 7 (Swift 2)\n\n## Installation\n\n### [CocoaPods](http://cocoapods.org/):\n\nIn your `Podfile`:\n```\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '8.0'\nuse_frameworks!\n\npod \"GSImageViewerController\"\n```\n\nAnd in your `*.swift`:\n```swift\nimport GSImageViewerController\n```\n\n## License\n\nGSImageViewerController is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwxxsw%2Fgsimageviewercontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwxxsw%2Fgsimageviewercontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwxxsw%2Fgsimageviewercontroller/lists"}