{"id":17216920,"url":"https://github.com/snail-z/overlaycontroller","last_synced_at":"2025-04-13T22:31:27.692Z","repository":{"id":62449808,"uuid":"83260083","full_name":"snail-z/OverlayController","owner":"snail-z","description":"OverlayController easily pop your custom view and provide optional transition animation. written in swift 5.0","archived":false,"fork":false,"pushed_at":"2020-08-19T08:16:21.000Z","size":6406,"stargazers_count":129,"open_issues_count":5,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-27T12:52:29.716Z","etag":null,"topics":["actionsheet","alert","cocoapods","drag","elastic","mask","overlay","popup-window","share","sidebar","sina","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/snail-z.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":"2017-02-27T02:33:05.000Z","updated_at":"2025-03-07T08:43:41.000Z","dependencies_parsed_at":"2022-11-01T23:30:41.362Z","dependency_job_id":null,"html_url":"https://github.com/snail-z/OverlayController","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snail-z%2FOverlayController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snail-z%2FOverlayController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snail-z%2FOverlayController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snail-z%2FOverlayController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snail-z","download_url":"https://codeload.github.com/snail-z/OverlayController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248790615,"owners_count":21162056,"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":["actionsheet","alert","cocoapods","drag","elastic","mask","overlay","popup-window","share","sidebar","sina","swift"],"created_at":"2024-10-15T03:42:44.422Z","updated_at":"2025-04-13T22:31:27.226Z","avatar_url":"https://github.com/snail-z.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/snail-z/OverlayController/blob/master/Preview/ovclogo.jpg?raw=true\" width=\"720px\" height=\"95px\"\u003e\n\n[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat)](https://developer.apple.com/swift/)\n![enter image description here](https://img.shields.io/badge/pod-v1.0.1-brightgreen.svg)\n![enter image description here](https://img.shields.io/badge/platform-iOS%2010.0%2B-ff69b5152950834.svg) \n\u003ca href=\"https://github.com/snail-z/OverlayController-Swift/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg?style=flat\"\u003e\u003c/a\u003e\n\nOverlayController can easily pop up any custom view. It supports layout positions, optional pop-up animations and user interaction gestures and more. If you need the Objective-C version, please see [here](https://github.com/snail-z/zhPopupController)\n\n\u003cimg src=\"https://github.com/snail-z/OverlayController/blob/master/Preview/full1.gif?raw=true\" width=\"168px\"\u003e\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n*  Swift 5.0\n*  iOS 10 or higher\n\n## Installation\n\nOverlayController is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'OverlayController', '~\u003e 1.0.1'\n```\n\n## Usage\n\n```swift\nlet ovc = OverlayController(view: self.publishView)\novc.layoutPosition = .center\novc.presentationStyle = .fade\novc.willPresentClosure = { [unowned self] (sender) in\n\tself.publishView.presentAnimate()\n}\novc.willDismissClosure = { [unowned self] (sender) in\n\tself.publishView.dismissAnimate()\n}\n```\n\nSupport following keyboard popup and hide\n\nSet overlay view priority. default is OverlayLevel.normal by `windowLevel`\n\n\u003cimg src=\"https://github.com/snail-z/OverlayController/blob/master/Preview/full2.gif?raw=true\" width=\"168px\"\u003e\n\n## Author\n\nsnail-z, haozhang0770@163.com\n\n## License\n\nOverlayController is available under the MIT license. See the LICENSE file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnail-z%2Foverlaycontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnail-z%2Foverlaycontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnail-z%2Foverlaycontroller/lists"}