{"id":25162813,"url":"https://github.com/viewdidappear/bdmirrorview","last_synced_at":"2026-04-30T00:03:37.112Z","repository":{"id":41206646,"uuid":"508733299","full_name":"viewDidAppear/BDMirrorView","owner":"viewDidAppear","description":"BDMirrorView is a UIView subclass, which mirrors itself on a chosen \"floor.\"","archived":false,"fork":false,"pushed_at":"2022-06-29T15:10:04.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T03:19:44.080Z","etag":null,"topics":["cagradientlayer","calayer","careplicatorlayer","coreanimation","gui","ios","objective-c","reflection","swift"],"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/viewDidAppear.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":"2022-06-29T14:48:49.000Z","updated_at":"2024-04-01T02:05:50.000Z","dependencies_parsed_at":"2022-07-31T11:47:57.126Z","dependency_job_id":null,"html_url":"https://github.com/viewDidAppear/BDMirrorView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewDidAppear%2FBDMirrorView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewDidAppear%2FBDMirrorView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewDidAppear%2FBDMirrorView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewDidAppear%2FBDMirrorView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viewDidAppear","download_url":"https://codeload.github.com/viewDidAppear/BDMirrorView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247016597,"owners_count":20869674,"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":["cagradientlayer","calayer","careplicatorlayer","coreanimation","gui","ios","objective-c","reflection","swift"],"created_at":"2025-02-09T03:19:45.639Z","updated_at":"2026-04-30T00:03:37.077Z","avatar_url":"https://github.com/viewDidAppear.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BDMirrorView\nA fast and efficient UIView subclass which renders its own reflection, live.\n\n![BDMirrorView_hero](https://user-images.githubusercontent.com/2734719/176471316-b2ae7851-9c90-4bf6-b245-1e9332dcbc11.png)\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)](https://raw.githubusercontent.com/viewDidAppear/BDMirrorView/master/LICENSE)\n[![Platform](https://img.shields.io/cocoapods/p/BDMirrorView.svg?style=for-the-badge)](http://cocoadocs.org/docsets/BDMirrorView)\n[![CocoaPods](https://img.shields.io/badge/pods-BDMirrorView-brightgreen?maxAge=3600\u0026style=for-the-badge)](https://cocoapods.org/pods/BDMirrorView)\n[![Twitter](https://img.shields.io/badge/twitter-follow%20me-ff69b4?style=for-the-badge)](https://twitter.com/viewDidAppear)\n[![Blog](https://img.shields.io/badge/read-my%20blog-red?style=for-the-badge)](https://viewDidAppear.github.io)\n\n---\n\n`BDMirrorView` is a `CAReplicatorLayer`-backed `UIView` subclass which can be used to render a live content reflection in an iOS app. If you're struggling to understand why this view exists, just think back to Cover Flow (rip..) and the reflection below each item....\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n# Features\n\n* Render a reflection on the top, left, bottom or right-hand side of the view.\n* Customise the distance of the reflection from the parent.\n* Use a masking gradient, or not.\n\n# Usage\n\nSet the class of the UIView to `BDMirrorView` in the Storyboard, or create an IBOutlet. 🙌\n\n# Installation \u0026 Compatibility\n\n`BDMirrorView` will work wherever this version of Swift will compile.\n\n## Manual (aka Tried \u0026 True)\n\nDownload the repo and add it into your Xcode project.\n\n## CocoaPods\n\n```ruby\npod 'BDMirrorView'\n```\n\n# Why? WHY?\n\nNo reason. Have fun!\n\n# Credits\n\n`BDMirrorView` was created by [Benjamin Deckys](https://github.com/viewDidAppear)\n\n# License\n\n`BDMirrorView` is available under the MIT license. Please see the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewdidappear%2Fbdmirrorview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviewdidappear%2Fbdmirrorview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewdidappear%2Fbdmirrorview/lists"}