{"id":16683844,"url":"https://github.com/meniny/presentationsettings","last_synced_at":"2025-04-09T23:25:20.537Z","repository":{"id":62451069,"uuid":"118473187","full_name":"Meniny/PresentationSettings","owner":"Meniny","description":"⚙️ Configuration for UIViewController presentation.","archived":false,"fork":false,"pushed_at":"2018-03-07T09:24:14.000Z","size":744,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T21:19:19.952Z","etag":null,"topics":["presentation","transition-animation","uiviewcontroller"],"latest_commit_sha":null,"homepage":"https://meniny.cn/PresentationSettings/","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/Meniny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-22T15:08:27.000Z","updated_at":"2019-12-05T01:31:17.000Z","dependencies_parsed_at":"2022-11-01T23:46:05.561Z","dependency_job_id":null,"html_url":"https://github.com/Meniny/PresentationSettings","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FPresentationSettings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FPresentationSettings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FPresentationSettings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meniny%2FPresentationSettings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meniny","download_url":"https://codeload.github.com/Meniny/PresentationSettings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248127603,"owners_count":21052256,"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":["presentation","transition-animation","uiviewcontroller"],"created_at":"2024-10-12T14:26:40.364Z","updated_at":"2025-04-09T23:25:20.510Z","avatar_url":"https://github.com/Meniny.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003c!-- \u003cimg src=\"./Assets/PresentationSettings.jpg\" alt=\"PresentationSettings\"\u003e --\u003e\n  \u003cbr/\u003e\u003ca href=\"https://cocoapods.org/pods/PresentationSettings\"\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-1.2.0-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Author\" src=\"https://img.shields.io/badge/author-Meniny-blue.svg\"\u003e\n  \u003cimg alt=\"Build Passing\" src=\"https://img.shields.io/badge/build-passing-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Swift\" src=\"https://img.shields.io/badge/swift-4.0%2B-orange.svg\"\u003e\n  \u003cbr/\u003e\n  \u003cimg alt=\"Platforms\" src=\"https://img.shields.io/badge/platform-iOS-lightgrey.svg\"\u003e\n  \u003cimg alt=\"MIT\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"\u003e\n  \u003cbr/\u003e\n  \u003cimg alt=\"Cocoapods\" src=\"https://img.shields.io/badge/cocoapods-compatible-brightgreen.svg\"\u003e\n  \u003cimg alt=\"Carthage\" src=\"https://img.shields.io/badge/carthage-working%20on-red.svg\"\u003e\n  \u003cimg alt=\"SPM\" src=\"https://img.shields.io/badge/swift%20package%20manager-compatible-brightgreen.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Introduction\n\n## What's this?\n\nConfiguration for `UIViewController` presentation.\n\n\n## Preview\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./Assets/alert.gif\"/\u003e\u003c/td\u003e\n\u003ctd\u003e\u003cimg src=\"./Assets/loading.gif\"/\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./Assets/notification.gif\"/\u003e\u003c/td\u003e\n\u003ctd\u003e\u003cimg src=\"./Assets/snack.gif\"/\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\n## Requirements\n\n* iOS 8.0+\n* Xcode 9 with Swift 4\n\n## Installation\n\n#### CocoaPods\n\n```ruby\npod 'PresentationSettings'\n```\n\n## Contribution\n\nYou are welcome to fork and submit pull requests.\n\n## License\n\n`PresentationSettings` is open-sourced software, licensed under the `MIT` license.\n\n## Usage\n\nThe simplest way:\n\n```swift\n@IBAction func showAlert(_ sender: UIButton) {\n    let alert = SomeController.init()\n    self.present(viewController: alert, settings: .default, animated: true, completion: nil)\n}\n```\n\nCreate your custom presentation settings:\n\n```swift\nlet type = PresentationType.dynamic(center: .center)\nlet settings = PresentationSettings.init(presentationType: type)\nsettings.transitionType = nil\nsettings.dismissTransitionType = nil\nsettings.dismissAnimated = true\nsettings.dismissOnSwipe = false\nsettings.dismissOnTap = false\nsettings.keyboardTranslationType = .moveUp\n....\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeniny%2Fpresentationsettings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeniny%2Fpresentationsettings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeniny%2Fpresentationsettings/lists"}