{"id":21373982,"url":"https://github.com/Ssimboss/Image360","last_synced_at":"2025-07-13T08:31:59.896Z","repository":{"id":53843469,"uuid":"79906616","full_name":"Ssimboss/Image360","owner":"Ssimboss","description":"Special view \u0026 controller to display 360° panoramic images","archived":false,"fork":false,"pushed_at":"2019-09-22T18:24:59.000Z","size":43447,"stargazers_count":47,"open_issues_count":4,"forks_count":20,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-31T15:54:27.358Z","etag":null,"topics":["360","360-photo","360degree","360photo","panorama","panorama-image"],"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/Ssimboss.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}},"created_at":"2017-01-24T11:43:58.000Z","updated_at":"2023-12-09T01:40:44.000Z","dependencies_parsed_at":"2022-08-21T02:50:38.068Z","dependency_job_id":null,"html_url":"https://github.com/Ssimboss/Image360","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ssimboss%2FImage360","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ssimboss%2FImage360/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ssimboss%2FImage360/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ssimboss%2FImage360/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ssimboss","download_url":"https://codeload.github.com/Ssimboss/Image360/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225868499,"owners_count":17537053,"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":["360","360-photo","360degree","360photo","panorama","panorama-image"],"created_at":"2024-11-22T08:29:37.438Z","updated_at":"2024-11-22T08:30:03.990Z","avatar_url":"https://github.com/Ssimboss.png","language":"Swift","funding_links":[],"categories":["OOM-Leaks-Crash"],"sub_categories":["Panorama"],"readme":"[![Version](https://img.shields.io/github/tag/Ssimboss/Image360.svg?label=release)](https://github.com/Ssimboss/Image360/tree/1.1.5)\n[![CocoaPods Compatible](https://img.shields.io/badge/CocoaPods-compatible-4BC51D.svg)](https://cocoapods.org/pods/Image360)\n[![CocoaPods license](https://img.shields.io/cocoapods/l/Image360.svg)](https://github.com/Ssimboss/Image360/blob/master/LICENSE)\n![Travis CI](https://api.travis-ci.org/Ssimboss/Image360.svg?branch=master)\n\n\n# What is this?\n\nImage360 is a simple stack of Image360Controller + Image360View which allows you to display 360° panoramic images.\n \n![alt tag](https://raw.githubusercontent.com/Ssimboss/Image360/master/example.gif)\n\n## How to use it?\n- Create an instance of `Image360Controller` in your code.\n- Set 360° image as `image: UIImage` of just created instance.\n- Use `inertia: Float` of instance to setup inertia of gestures.\n- You can switch off special orientation subview(compass view) with `isOrientationViewHidden: Bool` flag.\n- `Image360View` is controled by `Image360Controller` with gestures and device motions by default. You can switch off this features via `isDeviceMotionControlEnabled: Bool` and `isGestureControlEnabled: Bool` flags.\n\n \n### Example\n \n```swift\n class ViewController: UIViewController {\n \n ...\n // Image360Controller is inserted to view with container view and bind with \"image360\" segue\n override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n   if let identifier = segue.identifier {\n   switch identifier {\n     case \"image360\":\n       if let destination = segue.destination as? Image360Controller {\n         destination.image = UIImage(named: \"MyPanoramicImage\")\n       }\n     default:\n       ()\n     }\n   }\n \n }\n```\n\nFor more details look at \"iOS Example\" in this repository.\n\n## Installation\n\n### CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\nTo integrate Image360 into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '10.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\npod 'Image360', '~\u003e 1.1.5'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSsimboss%2FImage360","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSsimboss%2FImage360","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSsimboss%2FImage360/lists"}