{"id":19235178,"url":"https://github.com/heyjaywilson/coffeetoast","last_synced_at":"2025-06-30T16:39:56.993Z","repository":{"id":44632289,"uuid":"454629474","full_name":"heyjaywilson/CoffeeToast","owner":"heyjaywilson","description":"A swift package to easily add Toast notifications to your app","archived":false,"fork":false,"pushed_at":"2022-02-04T13:55:00.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T12:55:22.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/heyjaywilson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["maeganwilson"],"patreon":"maeganwilson_","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-02-02T03:20:19.000Z","updated_at":"2022-02-03T01:24:13.000Z","dependencies_parsed_at":"2022-08-27T08:40:38.542Z","dependency_job_id":null,"html_url":"https://github.com/heyjaywilson/CoffeeToast","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/heyjaywilson/CoffeeToast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyjaywilson%2FCoffeeToast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyjaywilson%2FCoffeeToast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyjaywilson%2FCoffeeToast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyjaywilson%2FCoffeeToast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heyjaywilson","download_url":"https://codeload.github.com/heyjaywilson/CoffeeToast/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyjaywilson%2FCoffeeToast/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262811482,"owners_count":23368120,"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":[],"created_at":"2024-11-09T16:16:11.677Z","updated_at":"2025-06-30T16:39:56.973Z","avatar_url":"https://github.com/heyjaywilson.png","language":"Swift","funding_links":["https://github.com/sponsors/maeganwilson","https://patreon.com/maeganwilson_"],"categories":[],"sub_categories":[],"readme":"# CoffeeToast\n\n ![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/maeganwilson/coffeetoast?include_prereleases) ![Open Issues](https://img.shields.io/github/issues/maeganwilson/coffeetoast) [![Swift](https://github.com/maeganwilson/CoffeeToast/actions/workflows/swift.yml/badge.svg)](https://github.com/maeganwilson/CoffeeToast/actions/workflows/swift.yml)\n\nA simple Swift package to add Toast Notifications to your app. Install with the Swift Package Manager.\n\nThis package uses SwiftUI and requires a target of iOS 15.0. This means that the package isn't macOS compatible yet. It's planned for a future release.\n\n## How to Use\n\nUse the toast view by adding the view which presents the toast, see example below:\n\n```swift\nimport SwiftUI\nimport CoffeeToast\n\nstruct ContentView: View {\n    @State private var toastIsShown = false\n    \n    var body: some View {\n        Toast(\"TOAST NOTIFICATION\", isShown: $toastIsShown) {\n            Button(\"Toggle Toast\") {\n                toastIsShown = true\n            }   \n        }\n    }\n}\n```\n\n## v1 Configuration options\n\n- Background Color  \n- Text  \n- Duration  \n- Foreground Color (AKA Text Color)\n- Content view  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyjaywilson%2Fcoffeetoast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheyjaywilson%2Fcoffeetoast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyjaywilson%2Fcoffeetoast/lists"}