{"repo":"sanzaru/SimpleToast","free":true,"listed":false,"github":"https://github.com/sanzaru/SimpleToast","clone":"git clone https://github.com/sanzaru/SimpleToast.git","description":"SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or MacOS applications in SwiftUI. Because of the flexibility to show any content it is also possible to use the library for showing simple modals.","language":"Swift","stars":486,"topics":["swiftui","swift","swift5","ios","macos","swift-package","toast","popup","toast-notifications","notification"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"SimpleToast for SwiftUI SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or macOS applications in SwiftUI. Because of the flexibility to show any content it is also possible to use the library for showing simple modals. You decide the content, the library takes care about the rest. [!IMPORTANT] The current version is still in development. There can and will be breaking changes in version updates until version 1.0. Features: Custom toast content support: You can show whatever you want inside the toast. Custom positioning: Place the toast where you want it to be. Timeout functionality: You decide if and when the toast should disappear. Callback functionality: Run code when the toast disappeared. Multiple, customizable animations [!CAUTION] 🚨 Breaking changes: 0.12.0: The options struct now includes a new option to modify the display mode. The default is .inline , which only reserves horizontal space instead of reserving both (vertical, horizontal) spaces. You should check your implementation after the update and might need to set the displayMode option to .full in your SimpleToastOptions . 0.11.0: is now passing an identifiable to the closure. Closures without capturing raise an error. See the documentation for more information. 0.6.0: The options struct is modified and the parameters showBackdrop and backdropColor are replaced by a single optional Color definition backdrop . See Options for more information","default_branch":null,"files":null,"tree":[],"storefront":"/r/sanzaru","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sanzaru/SimpleToast/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}