{"id":1481,"url":"https://github.com/taglia3/TGLParallaxCarousel","last_synced_at":"2025-08-02T04:31:22.330Z","repository":{"id":56922873,"uuid":"55349461","full_name":"taglia3/TGLParallaxCarousel","owner":"taglia3","description":"A lightweight 3D Linear Carousel with parallax effect","archived":false,"fork":false,"pushed_at":"2023-09-04T07:22:38.000Z","size":4271,"stargazers_count":438,"open_issues_count":15,"forks_count":63,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-14T16:44:22.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/taglia3.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-04-03T14:08:40.000Z","updated_at":"2025-04-16T22:26:47.000Z","dependencies_parsed_at":"2024-01-02T21:00:05.790Z","dependency_job_id":"61751062-17f4-4981-ad31-9fdece3ebcb5","html_url":"https://github.com/taglia3/TGLParallaxCarousel","commit_stats":{"total_commits":15,"total_committers":5,"mean_commits":3.0,"dds":0.4666666666666667,"last_synced_commit":"521d166a6cc2e9098f67ed2aa69c146f948140e8"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/taglia3/TGLParallaxCarousel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taglia3%2FTGLParallaxCarousel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taglia3%2FTGLParallaxCarousel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taglia3%2FTGLParallaxCarousel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taglia3%2FTGLParallaxCarousel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taglia3","download_url":"https://codeload.github.com/taglia3/TGLParallaxCarousel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taglia3%2FTGLParallaxCarousel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334611,"owners_count":24233793,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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.460Z","updated_at":"2025-08-02T04:31:21.772Z","avatar_url":"https://github.com/taglia3.png","language":"Shell","funding_links":[],"categories":["Media","UI"],"sub_categories":["Image","Other free courses"],"readme":"# TGLParallaxCarousel\n\n[![CI Status](http://img.shields.io/travis/taglia3/TGLParallaxCarousel.svg?style=flat)](https://travis-ci.org/taglia3/TGLParallaxCarousel)\n[![Version](https://img.shields.io/cocoapods/v/TGLParallaxCarousel.svg?style=flat)](http://cocoapods.org/pods/TGLParallaxCarousel)\n[![License](https://img.shields.io/cocoapods/l/TGLParallaxCarousel.svg?style=flat)](http://cocoapods.org/pods/TGLParallaxCarousel)\n[![Platform](https://img.shields.io/cocoapods/p/TGLParallaxCarousel.svg?style=flat)](http://cocoapods.org/pods/TGLParallaxCarousel)\n\nA lightweight 3D Linear Carousel with parallax effect\n\n### [GIF] Threedimensional \u0026 Normal mode\n\n![Threedimensional demo](https://raw.githubusercontent.com/taglia3/ParallaxCarousel/master/gif/Threedimensional.gif)    ![Normal demo](https://raw.githubusercontent.com/taglia3/ParallaxCarousel/master/gif/Normal.gif)\n\n\n## Installation\n\nTGLParallaxCarousel is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\nSwift 3:\n\n```ruby\npod 'TGLParallaxCarousel'\n```\n\nSwift 2.2:\n\n```ruby\npod 'TGLParallaxCarousel' ', '~\u003e 0.3'\n```\n\n\n## Usage\n\n1) Place one UIView object in your VC in the Storyboard and set it as subclass of `TGLParallaxCarousel`\n\n2) Create an IBOutlet in your VC.swift file, connect it a connect delegate and datasource. \n\n```swift\n\n@IBOutlet weak var carouselView: TGLParallaxCarousel!\n\noverride func viewDidLoad() {\nsuper.viewDidLoad()\n\ncarouselView.delegate = self\ncarouselView.margin = 10\ncarouselView.selectedIndex = 2\ncarouselView.type = .threeDimensional\n}\n```\n\n3) Conform to delegate\n\n```swift\nextension ViewController: TGLParallaxCarouselDelegate {\n\nfunc numberOfItemsInCarouselView(_ carouselView: TGLParallaxCarousel) -\u003e Int {\nreturn 5\n}\n\nfunc carouselView(_ carouselView: TGLParallaxCarousel, itemForRowAtIndex index: Int) -\u003e TGLParallaxCarouselItem {\nreturn CustomView(frame: CGRect(x: 0, y: 0, width: 300, height: 150) , number: index)\n}\n\nfunc carouselView(_ carouselView: TGLParallaxCarousel, didSelectItemAtIndex index: Int) {\nprint(\"Tap on item at index \\(index)\")\n}\n\nfunc carouselView(_ carouselView: TGLParallaxCarousel, willDisplayItem item: TGLParallaxCarouselItem, forIndex index: Int) {\nprint(\"\")\n}\n}\n```\n\n4) Enjoy!\n\n\n## Author\n\ntaglia3, matteo.tagliafico@gmail.com\n\n[LinkedIn](https://www.linkedin.com/in/matteo-tagliafico-ba6985a3), Matteo Tagliafico\n\n## License\n\nTGLParallaxCarousel 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%2Ftaglia3%2FTGLParallaxCarousel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaglia3%2FTGLParallaxCarousel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaglia3%2FTGLParallaxCarousel/lists"}