I was debating using symbols/emojis for each pill, but I wasn't sure how to represent each category, and wanted to stay consistent. I'm open to modifying this design if needed.
I went ahead and added all the other APIs and models, but will test them when I implement those features. In the process, I realized that I didn't need to add @Binding to all the Views. Since each component is read-only, I just need to pass the corresponding recipe property. All the child views will automatically update when the recipe ViewModel updates.
Edit: I also learned that the macOS runner doesn't currently know what annotations or visionOS are. 😄
Edit 2: It also doesn't know what a capsule is. ðŸ˜
https://github.com/Abhiek187/ez-recipes-web/issues/208 for iOS:
I was debating using symbols/emojis for each pill, but I wasn't sure how to represent each category, and wanted to stay consistent. I'm open to modifying this design if needed.
I went ahead and added all the other APIs and models, but will test them when I implement those features. In the process, I realized that I didn't need to add
@Binding
to all the Views. Since each component is read-only, I just need to pass the corresponding recipe property. All the child views will automatically update when the recipe ViewModel updates.Edit: I also learned that the macOS runner doesn't currently know what annotations or visionOS are. 😄 Edit 2: It also doesn't know what a capsule is. ðŸ˜