{"id":1489,"url":"https://github.com/Krisiacik/ImageViewer","last_synced_at":"2025-08-06T14:31:12.781Z","repository":{"id":45079427,"uuid":"47424925","full_name":"Krisiacik/ImageViewer","owner":"Krisiacik","description":"An image viewer à la Twitter","archived":false,"fork":false,"pushed_at":"2023-12-27T08:29:40.000Z","size":90062,"stargazers_count":2539,"open_issues_count":66,"forks_count":388,"subscribers_count":57,"default_branch":"master","last_synced_at":"2024-11-26T21:39:29.372Z","etag":null,"topics":[],"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/Krisiacik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-12-04T19:36:34.000Z","updated_at":"2024-11-18T07:33:55.000Z","dependencies_parsed_at":"2022-08-12T11:40:58.626Z","dependency_job_id":"c51eccbd-9544-42cf-b7ab-a4e0f5654d95","html_url":"https://github.com/Krisiacik/ImageViewer","commit_stats":{"total_commits":372,"total_committers":40,"mean_commits":9.3,"dds":"0.47043010752688175","last_synced_commit":"18770b879f1574b76a9351bb1d1afb6fd05ee929"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krisiacik%2FImageViewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krisiacik%2FImageViewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krisiacik%2FImageViewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krisiacik%2FImageViewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Krisiacik","download_url":"https://codeload.github.com/Krisiacik/ImageViewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227118958,"owners_count":17733389,"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":[],"created_at":"2024-01-05T20:15:47.654Z","updated_at":"2024-12-09T14:31:06.467Z","avatar_url":"https://github.com/Krisiacik.png","language":"Swift","funding_links":[],"categories":["Media","Libs","Images [🔝](#readme)"],"sub_categories":["Image","Images"],"readme":"\n[![CI Status](http://img.shields.io/travis/Krisiacik/ImageViewer.svg?style=flat)](https://travis-ci.org/Krisiacik/ImageViewer)\n[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-green.svg?style=flat)](https://developer.apple.com/swift/)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Version](https://img.shields.io/cocoapods/v/ImageViewer.svg?style=flat)](http://cocoadocs.org/docsets/ImageViewer)\n[![Platforms iOS](https://img.shields.io/badge/Platforms-iOS-lightgray.svg?style=flat)](https://developer.apple.com/swift/)\n[![License MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat)](https://opensource.org/licenses/MIT)\n\n![Single image view](https://github.com/Krisiacik/ImageViewer/blob/master/Documentation/single.gif)\n\n![Gallery](https://github.com/Krisiacik/ImageViewer/blob/master/Documentation/gallery.gif)\n\nFor the latest changes see the [CHANGELOG](CHANGELOG.md)\n\n## Install\n\n### CocoaPods\n\n```ruby\npod 'ImageViewer'\n```\n\n### Carthage\n\n```ruby\ngithub \"Krisiacik/ImageViewer\"\n```\n\n## Sample Usage\n\nFor a detailed example, see the [Example](https://github.com/Krisiacik/ImageViewer/tree/master/Example)!\n\n```swift\n// Show the ImageViewer with the first item\nself.presentImageGallery(GalleryViewController(startIndex: 0, itemsDataSource: self))\n\n// The GalleryItemsDataSource provides the items to show\nextension ViewController: GalleryItemsDataSource {\n    func itemCount() -\u003e Int {\n        return items.count\n    }\n\n    func provideGalleryItem(_ index: Int) -\u003e GalleryItem {\n        return items[index].galleryItem\n    }\n}\n\n```\n\n### ImageViewer version vs Swift version.\n\nImageViewer 6.0+ is Swift 5 ready! 🎉\n\nIf you use earlier version of Swift - refer to the table below:\n\n| Swift version | ImageViewer version               |\n| ------------- | --------------------------------- |\n| 5.x           | \u003e= 6.0                            |\n| 4.x           | 5.0                               |\n| 3.x           | 4.0                               |\n| 2.3           | 3.1 [⚠️](CHANGELOG.md#version-31) |\n| 2.2           | \u003c= 2.1                            |\n\n## License\n\nImageViewer is licensed under the MIT License, Version 2.0. See the [LICENSE](LICENSE) file for more info.\n\nCopyright (c) 2016 MailOnline\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKrisiacik%2FImageViewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKrisiacik%2FImageViewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKrisiacik%2FImageViewer/lists"}