Based off Chase
This is based off Chase's article on creating custom badges for any SwiftUI view. The project adds a badge to any view which could allow the developer to display things like how many tasks a user needs to complete.
Link to article: https://medium.com/@jpmtech/create-a-custom-badge-for-any-view-in-swiftui-647957cdf7ba
- fork the project or download the .zip
- open project in XCode v15 or later (earlier versions may or may not compile correctly)
- run in simulator
If you find a bug or would like to submit an improvement to this project, please submit an issue using the issues tab above. If you would like to submit a PR with a fix, reference the issue you created.
At this time, the code is running as expected.
Check out Chase's other articles on Medium
If you're feeling generous, buy me a coffee or beer 😎 https://www.buymeacoffee.com/scottcrowder