{"id":21373984,"url":"https://github.com/sachinkesiraju/SKPanoramaView","last_synced_at":"2025-07-13T08:31:56.170Z","repository":{"id":26262256,"uuid":"29709499","full_name":"sachinkesiraju/SKPanoramaView","owner":"sachinkesiraju","description":"Create beautiful animated panorama views. Inspired by the intro view on the LinkedIn iOS app.","archived":false,"fork":false,"pushed_at":"2017-03-10T03:21:08.000Z","size":182739,"stargazers_count":191,"open_issues_count":1,"forks_count":34,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-16T00:59:57.301Z","etag":null,"topics":["panorama"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/sachinkesiraju.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-01-23T01:06:26.000Z","updated_at":"2024-09-10T15:01:45.000Z","dependencies_parsed_at":"2022-08-26T17:30:13.298Z","dependency_job_id":null,"html_url":"https://github.com/sachinkesiraju/SKPanoramaView","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sachinkesiraju/SKPanoramaView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachinkesiraju%2FSKPanoramaView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachinkesiraju%2FSKPanoramaView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachinkesiraju%2FSKPanoramaView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachinkesiraju%2FSKPanoramaView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sachinkesiraju","download_url":"https://codeload.github.com/sachinkesiraju/SKPanoramaView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachinkesiraju%2FSKPanoramaView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265109753,"owners_count":23712745,"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":["panorama"],"created_at":"2024-11-22T08:29:37.506Z","updated_at":"2025-07-13T08:31:55.312Z","avatar_url":"https://github.com/sachinkesiraju.png","language":"Objective-C","funding_links":[],"categories":["OOM-Leaks-Crash"],"sub_categories":["Panorama"],"readme":"# SKPanoramaView\nCreate beautiful animated panorama views. Inspired by the intro on the LinkedIn iOS app.\n\n\u003cb\u003e Features \u003c/b\u003e\n- Adapts to any image - Automatically sets the panorama view based on the dimensions of the image.\n- Super easy to implement - Just 3 lines of code required.\n\nPerfect for intro views or background views.\n\n\u003cimg src = \"http://i.giphy.com/l0IyksnJBNjhQR5Kg.gif\" width = \"320px\"\u003e\n\n\u003ch1\u003e Installation \u003c/h1\u003e\n\u003ch3\u003e Cocoapods \u003c/h3\u003e\nSKPanoramaView is available through \u003ca href = \"cocoapods.org\"\u003e Cocoapods\u003c/a\u003e. To install it, simply add the following to your Podfile.\n```\npod 'SKPanoramaView'\n```\n\u003ch3\u003e Alternative \u003c/h3\u003e\nAlternatively, you can always just drag and drop the folder 'SKPanoramaView' into your project and ``#import \"SKPanoramaView.h\"`` and you're good to go.\n\n\u003ch2\u003e Implementation \u003c/h2\u003e\n\nSKPanoramaView is super easy to implement. Just add the following lines of code to your view and you're done!\n\n```\n    SKPanoramaView *panoramaView = [[SKPanoramaView alloc] initWithFrame:self.view.frame image:[UIImage imageNamed:@\"golden gate\"]];\n    [self.view addSubview:panoramaView];\n    [panoramaView startAnimating];\n```\nOptionally, you can set the animation duration of the view as follows:\n```\npanoramaView.animationDuration = 15.0f; //15 seconds (Default: 10s)\n```\nand set the start position of the animation as follows:\n```\npanoramaView.startPosition = SKPanoramaStartPositionLeft; // (starts animation from either left or right side; default:left)\n```\n\nSubviews can easily be added to the panorama view to create the effect as shown below\n\n\u003cimg src = \"http://i.giphy.com/URBnxjH62DTrO.gif\" width = \"320px\"\u003e\n\nBy simply using:\n```\n    SKPanoramaView *panoramaView = [[SKPanoramaView alloc] initWithFrame:self.view.frame image:[UIImage imageNamed:@\"new york\"]];\n    panoramaView.animationDuration = 60;\n    [self.view addSubview:panoramaView];\n    [panoramaView startAnimating];\n    UIView *overlayView = [[UIView alloc] initWithFrame:self.view.frame];\n    overlayView.backgroundColor = [UIColor blackColor];\n    overlayView.alpha = 0.4;\n    [panoramaView addSubview:overlayView];\n    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@\"linkedin\"]];\n    imageView.center = panoramaView.center;\n    [panoramaView addSubview:imageView];\n```\n\nFor more help on how to do this, check out the \u003ca href = \"https://github.com/sachinkesiraju/SKPanoramaView/tree/master/SKPanoramaViewDemo\"\u003e Demo\u003c/a\u003e.\n \n\u003ch1\u003e License \u003c/h1\u003e\nSKPanoramaView is available under the MIT License. For more information, see the \u003ca href =\"https://github.com/sachinkesiraju/SKPanoramaView/blob/master/LICENSE\"\u003eLICENSE \u003c/a\u003e file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachinkesiraju%2FSKPanoramaView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachinkesiraju%2FSKPanoramaView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachinkesiraju%2FSKPanoramaView/lists"}