{"id":28622947,"url":"https://github.com/achsuthan/toasterios","last_synced_at":"2025-06-12T06:13:47.271Z","repository":{"id":56924344,"uuid":"323005013","full_name":"Achsuthan/ToasteriOS","owner":"Achsuthan","description":"A customized and lightweight toaster message plugin for swift","archived":false,"fork":false,"pushed_at":"2021-01-09T03:41:15.000Z","size":2362,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-11T12:06:32.817Z","etag":null,"topics":["cocoapods","plugin","swift","toaster-message","xcode"],"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/Achsuthan.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":"2020-12-20T06:02:14.000Z","updated_at":"2022-07-21T04:54:59.000Z","dependencies_parsed_at":"2022-08-20T22:50:23.432Z","dependency_job_id":null,"html_url":"https://github.com/Achsuthan/ToasteriOS","commit_stats":null,"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/Achsuthan/ToasteriOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Achsuthan%2FToasteriOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Achsuthan%2FToasteriOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Achsuthan%2FToasteriOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Achsuthan%2FToasteriOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Achsuthan","download_url":"https://codeload.github.com/Achsuthan/ToasteriOS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Achsuthan%2FToasteriOS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259410256,"owners_count":22852979,"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":["cocoapods","plugin","swift","toaster-message","xcode"],"created_at":"2025-06-12T06:13:42.318Z","updated_at":"2025-06-12T06:13:47.259Z","avatar_url":"https://github.com/Achsuthan.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ToasteriOS\nFully customized and lightweight toaster message for iOS. This plugin is easy to use in swift code and with one line of code we can trigger the toaster message.\n\n![Cocoapods](https://img.shields.io/cocoapods/v/ToasteriOS) ![Cocoapods platforms](https://img.shields.io/cocoapods/p/ToasteriOS)\n\n## New features \n- Bug fixed on the multile toaster message and title \n- Now can show the toaster message with image \n- Customize the size of the toaster message image\n\n## Screenshots\n\n| Options | Tittle only | Tittle with custom style \n| ------ | ------ | ------|\n| ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/tableList.png?raw=true) | ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/TitleOnly.png?raw=true)| ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/TitleWithStyle.png?raw=true) \n\n| Tittle and Message | Tittle and Message with custom style | Custom toaster background\n| ------ | ------ | ------ |\n| ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/TitleAndMessage.png?raw=true) | ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/TittleAndMessageWithCustomStyle.png?raw=true) | ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/CustomBackground.png?raw=true) \n\n | Toaster on Top| Toaster on middle | Toaster on bottom \n | ------ | ------| ------|\n| ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/ToasterOnTop.png?raw=true)| ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/ToasterOnMiddle.png?raw=true) | ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/ToasterOnBottom.png?raw=true)  \n\n | Show Toaster with Image | Toaster with custom style Image | - \n | ------ | ------| ------|\n| ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/ToasterMessageWithImage.png?raw=true)| ![Alt text](https://github.com/Achsuthan/ToasteriOS/blob/main/screenshots/ToasterMessageWithCustomStyleImage.png?raw=true) | - \n\n## Setup Instructions\n# [Cocoapods](https://cocoapods.org)\n\nTo integrate ToasteriOS into your Xcode project using CocoaPods, specify it in your ``` Podfile  ```:\n``` sh\npod 'ToasteriOS'\n```\nand in your code add  ``` import ToasteriOS  ```.\n\n## Basic Examples\nBasic example of how to use the ToasteriOS\n\n```swift\n\n//Basic usage\nself.showToaster(title: \"Success\", message: \"Hello World!\")\n\n//With some aditional parameter to customize the toaster message possition\nself.showToaster(title: \"Success\", message: \"Hello World!\", position: .middle)\n```\n\n## Few More aditional customization\n\nIf you want to make more customize the style of title/message/toster background view, here are some steps for to do.\n\n```swift\n//Custom style message\nvar titleStyle = ToasterMessageStyle()\ntitleStyle.font = UIFont.systemFont(ofSize: 18, weight: .bold) //Custom Font by default font is swift default font\ntitleStyle.textAlignment = .left //Alignment of the text possition by default the possition is left\ntitleStyle.textColor = .green //Custom colour for the text by default colour is green\n            \nvar messageStyle = ToasterMessageStyle()\nmessageStyle.font = UIFont.systemFont(ofSize: 14, weight: .regular) //Custom Font by default font is swift default font\nmessageStyle.textAlignment = .left //Alignment of the text possition by default the possition is left\nmessageStyle.textColor = .white //Custom colour for the text by default colour is white\n\n//Custom style for the toaster background\nvar backgroundStyle = ToasterBackgroundStyle()\nbackgroundStyle.backgroundColor = .black //Custom background color for the toaster by default the black color \nbackgroundStyle.cornerRadius = 5 //Set the corner radius value for the background by default value is 8\nbackgroundStyle.delay = 6\n\n//Can show the toaster message with above custom style \nself.showToaster(title: \"success\", message: \"Hello World!\", position: .top, titleStyle: titleStyle, messageStyle: messageStyle, toasterBacgroundStyle: backgroundStyle)\n\n//Can show the toaster message with above custom style and with the image with style\nself.showToaster(title: \"success\", message: \"Hello World!\", position: .top, titleStyle: titleStyle, messageStyle: messageStyle, toasterBacgroundStyle: backgroundStyle, isWithImage: true, toasterImage: #imageLiteral(resourceName: \"success\"), toasterSquareImageWidth: 80)\n```\n\n## Compatibility\n- Version 5.x.x requires Swift 5 and Xcode 10.2 (or newer versions of Xcode).\n- Version 4.x.x requires Swift 4.2 and Xcode 10.\n\n## MIT License\n```txt\nCopyright (c) 2020 Achsuthan Mahendran.\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fachsuthan%2Ftoasterios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fachsuthan%2Ftoasterios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fachsuthan%2Ftoasterios/lists"}