{"id":15038265,"url":"https://github.com/vberihuete/dctoastview","last_synced_at":"2025-04-09T23:40:46.883Z","repository":{"id":56907185,"uuid":"159078519","full_name":"vberihuete/DCToastView","owner":"vberihuete","description":"This is part of the DC UI libraries to handle a simple Stack view and Auto layout friendly Toast View","archived":false,"fork":false,"pushed_at":"2019-12-07T15:38:48.000Z","size":166,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T20:03:16.874Z","etag":null,"topics":["alertview","autolayout","cocoapods","ios","message","spm","stackview","swift","swift-4","swift-package-manager","toast","toast-message"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vberihuete.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-25T21:58:20.000Z","updated_at":"2021-07-19T16:58:55.000Z","dependencies_parsed_at":"2022-08-20T19:10:06.210Z","dependency_job_id":null,"html_url":"https://github.com/vberihuete/DCToastView","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vberihuete%2FDCToastView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vberihuete%2FDCToastView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vberihuete%2FDCToastView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vberihuete%2FDCToastView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vberihuete","download_url":"https://codeload.github.com/vberihuete/DCToastView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131465,"owners_count":21052819,"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":["alertview","autolayout","cocoapods","ios","message","spm","stackview","swift","swift-4","swift-package-manager","toast","toast-message"],"created_at":"2024-09-24T20:37:44.635Z","updated_at":"2025-04-09T23:40:46.861Z","avatar_url":"https://github.com/vberihuete.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DCToast\n\n\nA Toast View made in swift using auto layout and stack views.\n\n![sample gif](https://media.giphy.com/media/iAQniXu33l8LvPPjQO/giphy.gif)\n\n## Requirements\n\niOS 11 or above and swift 4.2\n\n## Installation\n\nDCToastView is available through Swift package manager. To install\nit, simply add this git repository into your xcode spm depenencies:\n\n## How to\n\nAfter you have your cocoapods set up done and already added the pod for DCToastView, you just need to import in the View Controller you will like to use the Filter View.\n\n```swift\nimport DCToast\n```\n\nThen just call the shared Toast Presenter instance to show or remove a toast message \n\n```swift\nToastPresenter.shared.show(in: self.view, message: \"This is a toast\")\n```\n\n\n```swift\nToastPresenter.shared.remove()\n```\n\nConstructor properties go as follows:\n\n* **view**: The view in which the toast is going to be presented\n* **message**: The message that the toast will show\n* **toastPlace**: The place which can be .down or .up\n* **backgroundColor**: The background color of the toast; defaults to black\n* **textColor**: The text color of the message; defaults to white\n* **timeOut**: The amount of seconds for the toast to dismiss if not provided it means that the toast will be sticky (will remain until touched); defaults to nil\n* **roundness**: How round the toast will be: .none, .low, .mid, .high; defaults to .mid\n\n\n## Author\n\nVincent Berihuete, vberihuete@gmail.com\n\n## License\n\nDCToastView 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%2Fvberihuete%2Fdctoastview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvberihuete%2Fdctoastview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvberihuete%2Fdctoastview/lists"}